logging-effect-extra-file 2.0.0 → 2.0.1
raw patch · 4 files changed
+11/−7 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−2
- README.md +2/−2
- logging-effect-extra-file.cabal +2/−2
- package.yaml +1/−1
CHANGELOG.md view
@@ -1,10 +1,14 @@ # Change log +## 2.0.1++* Update README.md example to use `prettyprinter` instad of `wl-pprint-text`+ ## 2.0.0 * Include more info in `renderWithFile`-* Bump upper bounds on base to 4.12 and logging-effect to 1.4-* Replace wl-pprint-text with prettyprinter 1.2.*+* Bump upper bounds on `base` to 4.12 and `logging-effect` to 1.4+* Replace `wl-pprint-text` with `prettyprinter` 1.2.* ## 1.1.2
README.md view
@@ -14,9 +14,9 @@ import Control.Monad.Log.Extra.File (WithFile) import qualified Control.Monad.Log.Extra.File as Log import qualified System.IO as IO-import Text.PrettyPrint.Leijen.Text (Doc)+import Data.Text.Prettyprint.Doc (Doc) -app :: MonadLog (WithSeverity (WithFile Doc)) m => m ()+app :: MonadLog (WithSeverity (WithFile (Doc ann))) m => m () app = do $(Log.logEmergencyTH) "GAH! All systems are down!!!" $(Log.logAlertTH) "Red alert!"
logging-effect-extra-file.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 0a4a17fc1ee91bf4fdb65516248456825622e374c63ba09e44a2f9c7ec8a66bd+-- hash: 6b0e70043ce199b6061eff2831332dabbdc8a02500d4d5ce774a1f2cb4ef5dbd name: logging-effect-extra-file-version: 2.0.0+version: 2.0.1 synopsis: TH splices to augment log messages with file info description: TH splices to augment log messages with file info. category: Other
package.yaml view
@@ -39,4 +39,4 @@ maintainer: Jason Shipman name: logging-effect-extra-file synopsis: TH splices to augment log messages with file info-version: '2.0.0'+version: '2.0.1'