hs-abci-extra-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Network.ABCI.Server.Middleware.Logger

Synopsis

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.