Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Level
also known as severity, a higher Level
means a bigger Int
.
There are 5 common severity levels:
DEBUG
- Level 10
INFO
- Level 20
WARN
- Level 30
ERROR
- Level 40
FATAL
- Level 50
>>>
:set -XOverloadedStrings
>>>
"DEBUG" :: Level
DEBUG>>>
"DEBUG" == (Level 10)
True
Instances
Enum Level Source # | |
Eq Level Source # | |
Ord Level Source # | |
Read Level Source # | |
Show Level Source # | |
IsString Level Source # | |
Defined in Logging.Level fromString :: String -> Level # | |
FromJSON Level Source # | |
FormatArg Level Source # | |
HasType Level SomeHandler Source # | |
Defined in Logging.Class.Handler typed :: Lens SomeHandler SomeHandler Level Level # getTyped :: SomeHandler -> Level # setTyped :: Level -> SomeHandler -> SomeHandler # |