Safe Haskell | None |
---|---|
Language | Haskell2010 |
Bulk stdout logging back-end, useful mainly for testing.
- withBulkStdOutLogger :: (Logger -> IO r) -> IO r
- bulkStdoutLogger :: IO Logger
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
).