Add more colors to output
This commit is contained in:
parent
a7bfc69047
commit
a6d4703bcd
@ -85,7 +85,8 @@ fmtMessage :: WithSeverity LogData -> LogData
|
||||
fmtMessage (WithSeverity txt sev) = "[" <> ls (justifyLeft 7 ' ' (colorSev sev)) <> "] - " <> txt
|
||||
where
|
||||
colorSev :: Severity -> Text
|
||||
colorSev W = colorNormal Red . tshow $ W
|
||||
colorSev W = colorNormal Yellow . tshow $ W
|
||||
colorSev E = colorBright Red . tshow $ E
|
||||
colorSev a = tshow a
|
||||
|
||||
addTime ::
|
||||
|
||||
Loading…
Reference in New Issue
Block a user