log-effect-0.4.0.1: An extensible log effect using extensible-effects

Control.Eff.Log.Simple

type SimpleLog a = Log (Severity, a)Source

data Severity Source

Constructors

Instances

logTo :: (Typeable l, Member (Log (Severity, l)) r) => Severity -> l -> Eff r ()Source

debug :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

info :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

notice :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

warning :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

error :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

critical :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

alert :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source

panic :: (Typeable l, Member (Log (Severity, l)) r) => l -> Eff r ()Source