micrologger-0.4.0.1: A super simple logging module. Only for use for very simple projects.

Safe HaskellNone
LanguageHaskell2010

LuminescentDreams.Logger.Internal

Description

Internal definitions. Do not import directly.

Synopsis

Documentation

data LogLevel Source #

An ordinary hierarchy of logging priorities.

Instances

Eq LogLevel Source # 
Ord LogLevel Source # 
Show LogLevel Source # 
Buildable LogLevel Source #

Generate standard text representations of a log level. This is useful to the Standard logger but may not be interesting to any others.

Methods

build :: LogLevel -> Builder #

data Logger Source #

The primary data structure to contain a logger of any kind.

Constructors

Logger 

Fields

  • logCmd_ :: Text -> IO ()

    Any IO action that accepts the log message

  • lvl_ :: LogLevel

    The minimum level at which a log message should be accepted