Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Priority :: *
- class Monad m => MonadLogging m where
- debugM :: MonadLogging m => String -> m ()
- infoM :: MonadLogging m => String -> m ()
- noticeM :: MonadLogging m => String -> m ()
- warningM :: MonadLogging m => String -> m ()
- errorM :: MonadLogging m => String -> m ()
- criticalM :: MonadLogging m => String -> m ()
- alertM :: MonadLogging m => String -> m ()
- emergencyM :: MonadLogging m => String -> m ()
Documentation
data Priority :: *
Priorities are used to define how important a log message is. Users can filter log messages based on priorities.
These have their roots on the traditional syslog system. The standard definitions are given below, but you are free to interpret them however you like. They are listed here in ascending importance order.
class Monad m => MonadLogging m where Source
MonadLogging IO | |
MonadLogging LB | |
MonadLogging m => MonadLogging (Cmd m) | |
MonadLogging m => MonadLogging (ModuleT st m) |
debugM :: MonadLogging m => String -> m () Source
infoM :: MonadLogging m => String -> m () Source
noticeM :: MonadLogging m => String -> m () Source
warningM :: MonadLogging m => String -> m () Source
errorM :: MonadLogging m => String -> m () Source
criticalM :: MonadLogging m => String -> m () Source
alertM :: MonadLogging m => String -> m () Source
emergencyM :: MonadLogging m => String -> m () Source