Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
runSyslogLoggingT :: LoggingT m a -> m a Source #
Runs a LoggingT
, sending its output to the syslog. The logs
are formatted the same as runStdoutLoggingT
, but the LogLevel
is converted to a syslog priority value (but still included in the
log message).
syslogOutput :: Loc -> LogSource -> LogLevel -> LogStr -> IO () Source #
Same as defaultSyslogOutput
.
defaultSyslogOutput :: Loc -> LogSource -> LogLevel -> LogStr -> IO () Source #
This invokes formattedSyslogOutput
with defaultLogStr
. This
means that the resulting log messages are the same as the default
format used by Control.Monad.Logger.