log-base-0.10.0.1: Structured logging solution (base package)
Safe HaskellNone
LanguageHaskell2010

Log.Backend.StandardOutput.Bulk

Description

Bulk stdout logging back-end.

Synopsis

Documentation

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

Create an asynchronouis logger thread that prints messages to standard output once per second for the duration of the given action. Flushes stdout on each bulk write.

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

Create a bulk logger that prints messages in the JSON format to standard output once per second for the duration of the given action. Flushes stdout on each bulk write.