Safe Haskell | None |
---|---|
Language | Haskell2010 |
Basic data types used throughout the package.
- data LogLevel
- showLogLevel :: LogLevel -> Text
- readLogLevel :: Text -> LogLevel
- data LogMessage = LogMessage {}
- showLogMessage :: Maybe UTCTime -> LogMessage -> Text
Documentation
Available log levels.
showLogLevel :: LogLevel -> Text Source #
readLogLevel :: Text -> LogLevel Source #
This function is partial.
:: Maybe UTCTime | The time that message was added to the log. |
-> LogMessage | The actual message. |
-> Text |
Render a LogMessage
to Text
.