Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mkLogger :: MonadIO m => LogEnv -> Namespace -> Middleware m
- mkLoggerM :: KatipContext m => Middleware m
Custom Loggers
mkLogger :: MonadIO m => LogEnv -> Namespace -> Middleware m Source #
Logger middleware for ABCI messages with custom LogEnv
and Namespace
. This method makes it easy use various scribes such as
elastic-search.
mkLoggerM :: KatipContext m => Middleware m Source #
Logger middleware for ABCI messages in app with KatipContext.
Great for `App m` with a KatipContext
instance.