Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type LoggerTImpl = Loc -> LogSource -> LogLevel -> LogStr -> IO ()
- getCantevenOutput :: (Functor io, MonadIO io) => LoggingConfig -> io LoggerTImpl
- data LoggingConfig
- data LoggerDetails
Documentation
getCantevenOutput :: (Functor io, MonadIO io) => LoggingConfig -> io LoggerTImpl Source
data LoggerDetails Source
A way to set more fined-grained configuration for specific log messages.
Name, package, and module are "selectors" that identify which messages should be configured. Any absent "selectors" match everything. Name and package have to match exactly. Module can either match exactly, or -- if the config specifies a module ending in an asterisk -- match a prefix.
loggerLevel
is a "minimum priority". Messages that aren't at least as severe
as this will not be logged.
hslogger only supports "name". monad-logger supports all three.