Safe Haskell | None |
---|---|
Language | Haskell2010 |
System.Log.MonadLogger.Syslog
Documentation
runSyslogLoggingT :: LoggingT m a -> m a #
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 () #
Same as defaultSyslogOutput
.
defaultSyslogOutput :: Loc -> LogSource -> LogLevel -> LogStr -> IO () #
This invokes formattedSyslogOutput
with defaultLogStr
. This
means that the resulting log messages are the same as the default
format used by Control.Monad.Logger.