log-base-0.12.0.1: Structured logging solution (base package)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Log.Backend.StandardOutput

Description

Stdout logging back-end.

Synopsis

Documentation

withSimpleStdOutLogger :: MonadUnliftIO m => (Logger -> m r) -> m r Source #

Deprecated: Use withStdOutLogger instead

withStdOutLogger :: MonadUnliftIO m => (Logger -> m r) -> m r Source #

Create a logger that prints messages to standard output for the duration of the given action.

withJsonStdOutLogger :: MonadUnliftIO m => (Logger -> m r) -> m r Source #

Create a logger that prints messages in the JSON format to standard output for the duration of the given action.