Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains type classes for loggers that have LoggerName
.
Synopsis
- newtype LoggerNameBox m a = LoggerNameBox {
- loggerNameBoxEntry :: ReaderT LoggerName m a
- usingLoggerName :: LoggerName -> LoggerNameBox m a -> m a
Remove boilerplater
newtype LoggerNameBox m a Source #
Default implementation of WithNamedLogger
.
Instances
usingLoggerName :: LoggerName -> LoggerNameBox m a -> m a Source #
Runs a LoggerNameBox
with specified initial LoggerName
.