log-warper-1.2.3.1: Flexible, configurable, monadic and pretty logging
System.Wlog.Severity
Description
Custom wrapper around hslogger.Priority.
hslogger.Priority
Synopsis
data Severity Source #
Severity is level of log message importance. It uniquely determines which messages to print.
Constructors
Debug messages
Information
Important (more than average) information
General warnings
General errors/severe errors
Instances
Methods
minBound :: Severity #
maxBound :: Severity #
succ :: Severity -> Severity #
pred :: Severity -> Severity #
toEnum :: Int -> Severity #
fromEnum :: Severity -> Int #
enumFrom :: Severity -> [Severity] #
enumFromThen :: Severity -> Severity -> [Severity] #
enumFromTo :: Severity -> Severity -> [Severity] #
enumFromThenTo :: Severity -> Severity -> Severity -> [Severity] #
(==) :: Severity -> Severity -> Bool #
(/=) :: Severity -> Severity -> Bool #
compare :: Severity -> Severity -> Ordering #
(<) :: Severity -> Severity -> Bool #
(<=) :: Severity -> Severity -> Bool #
(>) :: Severity -> Severity -> Bool #
(>=) :: Severity -> Severity -> Bool #
max :: Severity -> Severity -> Severity #
min :: Severity -> Severity -> Severity #
readsPrec :: Int -> ReadS Severity #
readList :: ReadS [Severity] #
readPrec :: ReadPrec Severity #
readListPrec :: ReadPrec [Severity] #
showsPrec :: Int -> Severity -> ShowS #
show :: Severity -> String #
showList :: [Severity] -> ShowS #
Associated Types
type Rep Severity :: * -> * #
from :: Severity -> Rep Severity x #
to :: Rep Severity x -> Severity #
toJSON :: Severity -> Value #
toEncoding :: Severity -> Encoding #
toJSONList :: [Severity] -> Value #
toEncodingList :: [Severity] -> Encoding #
parseJSON :: Value -> Parser Severity #
parseJSONList :: Value -> Parser [Severity] #
version :: Version Severity #
kind :: Kind Severity #
getCopy :: Contained (Get Severity) #
putCopy :: Severity -> Contained Put #
internalConsistency :: Consistency Severity #
objectProfile :: Profile Severity #
errorTypeName :: Proxy Severity -> String #
data LogRecord Source #
Internal type of log records.