| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Log.Backend.StandardOutput
Description
Stdout logging back-end.
Synopsis
- withSimpleStdOutLogger :: (Logger -> IO r) -> IO r
 - withStdOutLogger :: (Logger -> IO r) -> IO r
 - withJsonStdOutLogger :: (Logger -> IO r) -> IO r
 
Documentation
withSimpleStdOutLogger :: (Logger -> IO r) -> IO r Source #
Create a simple, synchronous logger that prints messages to standard output
 and flushes stdout on each call to loggerWriteMessage for the duration of
 the given action.