katip-0.2.0.0: A structured logging framework.

Safe HaskellNone
LanguageHaskell2010

Katip.Scribes.Handle

Synopsis

Documentation

data ColorStrategy Source

Constructors

ColorLog Bool

Whether to use color control chars in log output

ColorIfTerminal

Color if output is a terminal

mkHandleScribe :: ColorStrategy -> Handle -> Severity -> Verbosity -> IO Scribe Source

Logs to a file handle such as stdout, stderr, or a file.

_ioLogEnv :: LogEnv Source

An implicit environment to enable logging directly ouf of the IO monad.