mirror of
https://github.com/github/semantic.git
synced 2025-01-03 04:51:57 +03:00
Define a Message datatype.
This commit is contained in:
parent
6358896dc5
commit
29fd11f96f
@ -65,6 +65,9 @@ data TaskF output where
|
||||
type Task = Freer TaskF
|
||||
|
||||
-- | A log message at a specific level.
|
||||
data Message = Message Time.UTCTime Level String
|
||||
deriving (Eq, Show)
|
||||
|
||||
data Level
|
||||
= Error
|
||||
| Warning
|
||||
|
Loading…
Reference in New Issue
Block a user