Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Severity for the log messages.
Debug | Information useful for debug purposes. E.g. output of the function that is important for the internal development, not for users. Like, the result of SQL query. |
Info | Normal operational information. E.g. describing general steps: starting application, finished downloading. |
Warning | General warnings, non-critical failures. E.g. couldn't download icon from some service to display. |
Error | General errors/severe errors. E.g. exceptional situations: couldn't syncronize accounts. |
Instances
Bounded Severity Source # | |
Enum Severity Source # | |
Eq Severity Source # | |
Ord Severity Source # | |
Defined in Colog.Core.Severity | |
Read Severity Source # | |
Show Severity Source # | |
Ix Severity Source # | |
Defined in Colog.Core.Severity |
filterBySeverity :: Applicative m => Severity -> (a -> Severity) -> LogAction m a -> LogAction m a Source #
Filters messages by given Severity
.