Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
runSyslogLoggingT :: LoggingT m a -> m a Source #
Runs a LoggingT
action, sending its output to Syslog.
Logging will use service name (logger "tag") hslogger
,
and Syslog facility User
. Log lines will have the same
format as runStdoutLoggingT
, but the LogLevel
will
be converted to the matching Syslog priority value, and
will be included in the logged message.
runCustomSyslogLoggingT Source #
Like runSyslogLoggingT
, but specifying desired service
name -- (logger "tag") and Syslog facility.
Syslog distinguishes various system facilities. Most applications should
log in USER
.
Kernel | kernel messages |
User | user-level messages (default unless set otherwise) |
mail system | |
News | network news subsystem |
UUCP | UUCP subsystem |
Daemon | system daemons |
Auth | security and authorization messages |
Cron | clock daemon |
LPR | line printer subsystem |
Local0 | reserved for local use |
Local1 | reserved for local use |
Local2 | reserved for local use |
Local3 | reserved for local use |
Local4 | reserved for local use |
Local5 | reserved for local use |
Local6 | reserved for local use |
Local7 | reserved for local use |