monad-logger-syslog: syslog output for monad-logger

[ library, logging, mit ] [ Propose Tags ]

syslog output for monad-logger

[Skip to Readme]
Versions [RSS] [faq],,,,,,,
Change log
Dependencies base (<10), bytestring (>=0.10.8 && <0.11), fast-logger (>=2.4.7), hsyslog (>=4 && <5.1), monad-logger (>=0.3.20 && <0.4), text (>=1.2.2 && <1.3), transformers (>=0.5.2 && <0.6) [details]
License MIT
Author Greg Weber & FP Complete Developers
Maintainer Ernesto Hernández-Novich <>
Revised Revision 1 made by MichaelSnoyman at 2020-08-11T07:31:05Z
Category Logging
Home page
Source repo head: git clone
Uploaded by iamemhn at 2019-11-25T16:27:16Z
Distributions NixOS:
Downloads 5064 total (24 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-11-25 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for monad-logger-syslog-

[back to package description]

Monad Logger for Syslog

TravisCI Hackage


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!")