Copyright | (c) 2019 Version Cloud |
---|---|
License | BSD3 |
Maintainer | Jorah Gao <jorah@version.cloud> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Run logging in a Reader
monad.
You should initialize
the Manager
before using it in the Reader
monad, and terminate
it when it is no longer needed.
Synopsis
- type LoggingT m a = ReaderT Manager m a
- runLoggingT :: MonadIO m => LoggingT m a -> Manager -> m a
- module Logging.Monad.TH