Popularity
8.7
Growing
Activity
2.8
-
6
24
7

Monthly Downloads: 252
Programming language: Haskell
License: MIT License
Tags: Monad     Logging    
Latest version: v0.1.6.0

monad-logger-syslog alternatives and similar packages

Based on the "monad" category

Do you think we are missing an alternative of monad-logger-syslog or a related project?

Add another 'monad' Package

README

Monad Logger for Syslog

TravisCI Hackage

Install

cabal install monad-logger-syslog

Usage (example)

Default to syslog user facility with name hslogger

import Control.Monad.Logger ( logDebugN  )
import Control.Monad.Logger.Syslog ( runSyslogLoggingT )

main :: IO ()
main = runSyslogLoggingT (logDebugN "HELLO!")

Log under Local1 facility with name mylogger

import Control.Monad.Logger ( logDebugN  )
import Control.Monad.Logger.Syslog ( runCustomSyslogLoggingT )

main :: IO ()
main = runCustomSyslogLoggingT "mylogger" Local1 (logDebugN "HELLO!")