log4hs-0.6.0.0: A python logging style log library

Safe HaskellNone
LanguageHaskell2010

Logging.Monad

Contents

Description

Run logging in a Reader monad.

You should initialize the Manager before using it in the Reader monad, and terminate it when it is no longer needed.

If you want to log uncaught exceptions, see "GHC.Conc.setUncaughtExceptionHandler".

Synopsis

Documentation

runLoggingT :: MonadIO m => LoggingT m a -> Manager -> m a Source #

Log routines