Blammo-1.2.0.0: Batteries-included Structured Logging library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blammo.Logging.LogSettings

Synopsis

Documentation

data LogLevels Source #

Instances

Instances details
Show LogLevels Source # 
Instance details

Defined in Blammo.Logging.LogSettings.LogLevels

Eq LogLevels Source # 
Instance details

Defined in Blammo.Logging.LogSettings.LogLevels

data LogColor Source #

Instances

Instances details
Show LogColor Source # 
Instance details

Defined in Blammo.Logging.LogSettings

Eq LogColor Source # 
Instance details

Defined in Blammo.Logging.LogSettings

Reading settings, e.g. from ENV

Construction

Modify

setLogSettingsConcurrency :: Maybe Int -> LogSettings -> LogSettings Source #

Set the number of LoggerSet Buffers used by fast-logger

A value of Nothing means to use getNumCapabilities. Higher is more performant, but may deliver messages out of order. The defualt is set for TTY usage (so, 1), but is also changed through setLogSettingsFormat is used.

Support for this option depends on your version of fast-logger:

fast-logger | DestinationSupported?
>=3.1.1 | anywhereyes
>=3.0.5 | fileyes
>=3.0.5 | stdout/stderrno
<3.0.5 | anywhereno

Access

Logic