packages feed

logging-effect 1.1.1 → 1.1.2

raw patch · 3 files changed

+10/−4 lines, 3 filesdep ~time

Dependency ranges changed: time

Files

Changelog.md view
@@ -1,3 +1,9 @@+# 1.1.2++## Other changes++- Increased upper bound of `time`+ # 1.1.1  - `withBatchedHandler` no longer prints empty log messages. Previously,
logging-effect.cabal view
@@ -1,5 +1,5 @@ name: logging-effect-version: 1.1.1+version: 1.1.2 synopsis: A mtl-style monad transformer for general purpose & compositional logging homepage: https://github.com/ocharles/logging-effect license: BSD3@@ -17,7 +17,7 @@                      , async >=2.0 && <2.2                      , transformers >=0.4 && <0.6                      , text >=1.2 && <1.3-                     , time >=1.5 && <1.7+                     , time >=1.5 && <1.8                      , mtl >= 2.2.1 && <2.3                      , exceptions >= 0.8.0.2 && <0.9                      , free >= 4.12.1 && < 4.13
src/Control/Monad/Log.hs view
@@ -330,7 +330,7 @@ -- | Given a way to render the underlying message @a@ render a message with a -- callstack. ----- The callstack will be pretty-printed underneith the log message itself.+-- The callstack will be pretty-printed underneath the log message itself. renderWithCallStack :: (a -> PP.Doc) -> WithCallStack a -> PP.Doc renderWithCallStack k (WithCallStack stack msg) =   k msg PP.<$> PP.indent 2 (prettyCallStack (getCallStack stack))@@ -416,7 +416,7 @@ instance (Functor f,MonadFree f m) => MonadFree f (LoggingT message m)  -- | 'LoggingT' unfortunately does admit an instance of the @MFunctor@ type--- class, which provides the @hoist@ method to change the monad underneith+-- class, which provides the @hoist@ method to change the monad underneath -- a monad transformer. However, it is possible to do this with 'LoggingT' -- provided that you have a way to re-interpret a log handler in the -- original monad.