apiary-logger-1.1.0: fast-logger support for apiary web framework.

Safe HaskellNone
LanguageHaskell2010

Web.Apiary.Logger

Contents

Synopsis

Documentation

data Logger Source

logger extension data type.

Instances

configuration

data LogConfig Source

Constructors

LogConfig 

Instances

initialize

action

logging :: (Has Logger exts, MonadIO m) => LogStr -> ActionT exts prms m () Source

push log.

wrapper

data LogWrapper exts m a Source

wrapper to use as MonadLogger using Logger Extenson.

Instances

logWrapper :: Monad m => m a -> LogWrapper exts m a Source

runLogWrapper :: Extensions exts -> LogWrapper exts m a -> m a Source