logging-facade-0.3.1: Simple logging abstraction that allows multiple back-ends
Safe HaskellNone
LanguageHaskell2010

System.Logging.Facade.Class

Synopsis

Documentation

class Monad m => Logging m where Source #

A type class for monads with logging support

Instances

Instances details
Logging IO Source #

Log messages that are produced in the IO monad are consumed by the global LogSink.

Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (MaybeT m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (ListT m) Source # 
Instance details

Defined in System.Logging.Facade.Class

(Monoid w, Logging m) => Logging (WriterT w m) Source # 
Instance details

Defined in System.Logging.Facade.Class

(Monoid w, Logging m) => Logging (WriterT w m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (StateT s m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (StateT s m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (ReaderT r m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (IdentityT m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (ExceptT e m) Source # 
Instance details

Defined in System.Logging.Facade.Class

(Error e, Logging m) => Logging (ErrorT e m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Logging m => Logging (ContT r m) Source # 
Instance details

Defined in System.Logging.Facade.Class

(Monoid w, Logging m) => Logging (RWST r w s m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Methods

consumeLogRecord :: LogRecord -> RWST r w s m () Source #

(Monoid w, Logging m) => Logging (RWST r w s m) Source # 
Instance details

Defined in System.Logging.Facade.Class

Methods

consumeLogRecord :: LogRecord -> RWST r w s m () Source #