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

Safe HaskellNone
LanguageHaskell2010

Log.Backend.StandardOutput.Bulk

Description

Bulk stdout logging back-end, useful mainly for testing.

Synopsis

Documentation

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

Create a bulkStdoutLogger for the duration of the given action, and shut it down afterwards, making sure that all buffered messages are actually written to stdout.

bulkStdoutLogger :: IO Logger Source #

Deprecated: Use withBulkStdOutLogger instead!

Start an asynchronous logger thread that prints messages to standard output.

Please use withBulkStdOutLogger' instead, which is more exception-safe (see the note attached to mkBulkLogger).