log-base-0.7.1.1: 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.

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.