log-warper-1.4.0: Flexible, configurable, monadic and pretty logging

Safe HaskellNone
LanguageHaskell2010

System.Wlog.Severity

Description

Custom wrapper around hslogger.Priority.

Synopsis

Documentation

data Severity Source #

Severity is level of log message importance. It uniquely determines which messages to print.

Constructors

Debug

Debug messages

Info

Information

Notice

Important (more than average) information

Warning

General warnings

Error

General errors/severe errors

Instances

Bounded Severity Source # 
Enum Severity Source # 
Eq Severity Source # 
Ord Severity Source # 
Read Severity Source # 
Show Severity Source # 
Generic Severity Source # 

Associated Types

type Rep Severity :: * -> * #

Methods

from :: Severity -> Rep Severity x #

to :: Rep Severity x -> Severity #

FromJSON Severity Source # 
ToJSON Severity Source # 
SafeCopy Severity Source # 
type Rep Severity Source # 
type Rep Severity = D1 (MetaData "Severity" "System.Wlog.Severity" "log-warper-1.4.0-wgf6ZwaBQoAnLh9nUpCPB" False) ((:+:) ((:+:) (C1 (MetaCons "Debug" PrefixI False) U1) (C1 (MetaCons "Info" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Notice" PrefixI False) U1) ((:+:) (C1 (MetaCons "Warning" PrefixI False) U1) (C1 (MetaCons "Error" PrefixI False) U1))))

data LogRecord Source #

Internal type of log records.

Constructors

LR !Severity !Text