Safe Haskell | None |
---|---|
Language | Haskell2010 |
Control.Monad.Classes.Log
Documentation
type family LoggingCanDo msg eff where ... Source #
Equations
LoggingCanDo msg (EffLog msg) = True | |
LoggingCanDo msg eff = False |
class Monad m => MonadLogN k message m where Source #
Minimal complete definition
Methods
logMessageFreeN :: Proxy# k -> (forall n. Monoid n => (message -> n) -> n) -> m () Source #
logMessageFree :: forall msg m. MonadLog msg m => (forall n. Monoid n => (msg -> n) -> n) -> m () Source #
logMessage :: MonadLog msg m => msg -> m () Source #
mapLogMessage :: MonadLog msg' m => (msg -> msg') -> LoggingT msg m a -> m a Source #
mapLogMessageM :: MonadLog msg' m => (msg -> m msg') -> LoggingT msg m a -> m a Source #
logDebug :: MonadLog (WithSeverity a) m => a -> m () Source #
logInfo :: MonadLog (WithSeverity a) m => a -> m () Source #
logNotice :: MonadLog (WithSeverity a) m => a -> m () Source #
logWarning :: MonadLog (WithSeverity a) m => a -> m () Source #
logError :: MonadLog (WithSeverity a) m => a -> m () Source #
logCritical :: MonadLog (WithSeverity a) m => a -> m () Source #
logAlert :: MonadLog (WithSeverity a) m => a -> m () Source #
logEmergency :: MonadLog (WithSeverity a) m => a -> m () Source #