Syslog backend for simple-log
Haskell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/System/Log/Simple
LICENSE
README.md
simple-log-syslog.cabal

README.md

simple-log-syslog

Syslog backend for simple-log

yourFunction :: MonadLog m => m ()
yourFunction = scope "your" $ log Trace "Hello"

run :: IO ()
run = do
    l <- newLog (fileCfg "log.cfg" 60) [syslog "name"]
    withLog l yourFunction