di-core

Typeful hierarchical structured logging without monad towers. https://github.com/k0001/di

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Renzo Carbonara
Maintained by renλren.zone

di-core

Typeful hierarchical structured logging without monad towers.

If you like monad towers, though, check out di-monad.

Also, for a logging library, this one doesn’t do any rendering of log messages. Please refer to di-handle and di-df1 for that.

Build Status

See the BSD3 LICENSE file to learn about the legal terms and conditions for this library.

Changes

Version 1.0.4

  • Improve exception handling when worker stops.

  • Added LoggingWorkerNotRunning.

  • Fixed path rendering when logging exceptions.

Version 1.0.3

  • Fix handling of async exceptions even more (now with tests).

  • The exceptions dependency is gone.

  • Added ExceptionInLoggingWorker.

  • Documentation improvements.

Version 1.0.2

  • The MonadMask superclass of throw' is gone.

  • Fix handling of async exceptions.

  • Add dependency on safe-exceptions.

Version 1.0.1

  • Added throw', throw and onException.

Version 1.0

  • This library contains most of what was in di-0.3. Consider this first release of the new ecosystem a preview release: The API is likely to stay stable, but extensive testing, formalization and tooling is due.