Structured logging solution (base package)


Version on this page:
LTS Haskell 22.29:
Stackage Nightly 2024-07-17:
Latest on Hackage:

See all snapshots log-base appears in

BSD-3-Clause licensed by Scrive AB
This version can be pinned in stack with:log-base-,2766

Module documentation for

log-base Hackage version Build Status

Base package for the log library suite. Includes only the standard output back end. Use this package in conjunction with log-elasticsearch or log-postgres, depending on which back end you need.


log-base- (2020-05-08)

  • Update version bounds.

log-base- (2019-04-09)

  • Add getLoggerEnv function to MonadLog class, add getLoggerIO utility (#46).
  • Add a MonadUnliftIO instance for LogT (#47).

log-base- (2017-10-27)

  • Add mkBulkLogger' (#40).

log-base- (2017-10-10)

  • BasicStdOutLogger now flushes stdout on each write. BulkStdOutLogger now flushes stdout on each bulk write (#38).

log-base- (2017-08-10)

  • Add ‘MFunctor LogT’ instance (#35 ).

log-base- (2017-06-19)

  • mkBulkLogger now uses a bounded queue to interact with the logger thread.

log-base-0.7.1 (2017-03-16)

  • Added a few MTL class instances (#28).

log-base-0.7 (2016-11-25)

  • Initial release (split from the log package).
  • Improved documentation (#22).
  • Implement ‘toEncoding’ directly in ‘ToJSON’ instances (#21).