napkin-0.5.13
Safe HaskellNone
LanguageHaskell2010

Napkin.Run.Effects.Languages.Log

Synopsis

Documentation

data LogLine #

Instances

Instances details
ToDumpItem (b :: k) (Log :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) (x :: k0). Log (Sem r) x -> DumpItem b #

logDebug :: Member Log effs => LText -> Sem effs () #

logInfo :: Member Log effs => LText -> Sem effs () #

logNotice :: Member Log effs => LText -> Sem effs () #

logWarning :: Member Log effs => LText -> Sem effs () #

logError :: Member Log effs => LText -> Sem effs () #

logCritical :: Member Log effs => LText -> Sem effs () #

logAlert :: Member Log effs => LText -> Sem effs () #

logEmergency :: Member Log effs => LText -> Sem effs () #

logDebug' :: Member Log effs => LogItem -> LText -> Sem effs () #

logInfo' :: Member Log effs => LogItem -> LText -> Sem effs () #

logNotice' :: Member Log effs => LogItem -> LText -> Sem effs () #

logWarning' :: Member Log effs => LogItem -> LText -> Sem effs () #

logError' :: Member Log effs => LogItem -> LText -> Sem effs () #

logCritical' :: Member Log effs => LogItem -> LText -> Sem effs () #

logAlert' :: Member Log effs => LogItem -> LText -> Sem effs () #

logEmergency' :: Member Log effs => LogItem -> LText -> Sem effs () #

echo :: Member Log r => Severity -> LogStr -> Sem r () #

Deprecated: Replaced by dedicated helper functions

runLogKatip :: forall m r a. (Member (Embed m) r, Katip m) => SimpleLogPayload -> Sem (Log ': r) a -> Sem r a #

runLogDiscard :: Sem (Log ': r) a -> Sem r a #