napkin-0.5.10
Safe HaskellNone
LanguageHaskell2010

Napkin.Run.Effects.Languages.Log

Synopsis

Documentation

data LogItem #

Constructors

forall a.LogItem a => LogItem a 

Instances

Instances details
Default LogItem # 
Instance details

Defined in Napkin.Run.Effects.Languages.Log

Methods

def :: LogItem #

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 b) => b -> LText -> Sem effs () #

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

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

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

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

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

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

logEmergency' :: (Member Log effs, LogItem b) => b -> 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) => Sem (Log ': r) a -> Sem r a #

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