cabal install monad-logger-syslog
import Control.Monad.Logger ( logDebugN )
import Control.Monad.Logger.Syslog ( runSyslogLoggingT )
main :: IO ()
main = runSyslogLoggingT (logDebugN "HELLO!")
import Control.Monad.Logger ( logDebugN )
import Control.Monad.Logger.Syslog ( runCustomSyslogLoggingT )
main :: IO ()
main = runCustomSyslogLoggingT "mylogger" Local1 (logDebugN "HELLO!")