Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- logToSyslog :: MonadIO m => String -> Handler m (WithSeverity ByteString)
- syslogPriority :: Severity -> Priority
Documentation
logToSyslog :: MonadIO m => String -> Handler m (WithSeverity ByteString) Source #
Log messages to a posix system log. The string argument is a tag that can
be used to identify log messages produced by this logger.
You can, for instance, run journalctl --user -t mytag
to see log messages
tagged with "mytag"
.
syslogPriority :: Severity -> Priority Source #