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

Safe HaskellNone
LanguageHaskell2010

Log.Backend.StandardOutput

Description

Stdout logging back-end.

Synopsis

Documentation

simpleStdoutLogger :: Logger Source #

Deprecated: Use withSimpleStdOutLogger

Simple, synchronous logger that prints messages to standard output. Flushes stdout on each call to loggerWriteMessage. Use withBulkStdOutLogger if you want buffering.

stdoutLogger :: IO Logger Source #

Deprecated: Use withSimpleStdOutLogger

Create a logger that prints messages to standard output.

withSimpleStdOutLogger :: (Logger -> IO r) -> IO r Source #

Create a simpleStdoutlogger for the duration of the given action, making sure that stdout is flushed afterwards.