log-base-0.7.4.0: Structured logging solution (base package)

Safe HaskellNone
LanguageHaskell2010

Log.Data

Description

Basic data types used throughout the package.

Synopsis

Documentation

readLogLevel :: Text -> LogLevel Source #

This function is partial.

data LogMessage Source #

Represents message to be logged.

Constructors

LogMessage 

Fields

showLogMessage Source #

Arguments

:: Maybe UTCTime

The time that message was added to the log.

-> LogMessage

The actual message.

-> Text 

Render a LogMessage to Text.