logging-effect-extra-file 1.0.0 → 1.1.0
raw patch · 5 files changed
+20/−4 lines, 5 files
Files
- CHANGELOG.md +6/−1
- executable/log-file-and-severity.hs +1/−1
- library/Control/Monad/Log/Extra/File.hs +9/−0
- logging-effect-extra-file.cabal +2/−1
- package.yaml +2/−1
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Change log +## 1.1.0++* Deprecate `logInformationalTH` splice+* Add `logInfoTH` splice+ ## 1.0.0 -Initial release+* Initial release
executable/log-file-and-severity.hs view
@@ -19,7 +19,7 @@ $(Log.logErrorTH) "Errors abound!" $(Log.logWarningTH) "Cargo number 2331 has commandeered the vessel" $(Log.logNoticeTH) "Heads up, but it's no biggie."- $(Log.logInformationalTH) "Does anyone read these?"+ $(Log.logInfoTH) "Does anyone read these?" $(Log.logDebugTH) "Sleuthing with log messages..." main :: IO ()
library/Control/Monad/Log/Extra/File.hs view
@@ -26,6 +26,7 @@ , logErrorTH , logWarningTH , logNoticeTH+ , logInfoTH , logInformationalTH , logDebugTH -- ** Without severity@@ -97,9 +98,17 @@ -- | Generates a function that logs an 'Informational' message with info from the -- source file. --+-- > $(logInfoTH) "Does anyone read these?"+logInfoTH :: Q Exp+logInfoTH = logSeverityMessageTH Informational++-- | Generates a function that logs an 'Informational' message with info from the+-- source file.+-- -- > $(logInformationalTH) "Does anyone read these?" logInformationalTH :: Q Exp logInformationalTH = logSeverityMessageTH Informational+{-# DEPRECATED logInformationalTH "logInformationalTH is deprecated in favor of logInfoTH." #-} -- | Generates a function that logs a 'Debug' message with info from the -- source file.
logging-effect-extra-file.cabal view
@@ -3,12 +3,13 @@ -- see: https://github.com/sol/hpack name: logging-effect-extra-file-version: 1.0.0+version: 1.1.0 synopsis: TH splices to augment log messages with file info description: TH splices to augment log messages with file info. category: Other homepage: https://github.com/jship/logging-effect-extra#readme bug-reports: https://github.com/jship/logging-effect-extra/issues+author: Jason Shipman maintainer: Jason Shipman license: MIT build-type: Simple
package.yaml view
@@ -1,3 +1,4 @@+author: Jason Shipman category: Other dependencies: - base >=4.8 && <4.11@@ -38,4 +39,4 @@ maintainer: Jason Shipman name: logging-effect-extra-file synopsis: TH splices to augment log messages with file info-version: '1.0.0'+version: '1.1.0'