lumberjack: Trek through your code forest and make logs
This is a logging facility. Yes, there are many, and this is the one with a beard, wearing flannel and boots, that gets the job done. It's not the fanciest, it doesn't have a cargo-van full of features. This logger is designed to be straightforward to use, provide a good set of standard features, and be useable across a broad set of code.
Logging is a monadic activity. This activity is most often performed in a monad stack with a MonadIO context to allow writing to files.
The specific logging action implementations are managed separately from the actions of logging messages in the target code. This allows logging to be configurable and the manner of logging to be specified at startup time without requiring changes in the code from which log messages are being generated.
The logging implementation code can use cofunctors to adjust existing logging.
Main code will typically retrieve the logging actions from a Reader context in your monad stack.
The prettyprinter package is used for formatting.
Downloads
- lumberjack-1.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 1.0.0.0, 1.0.0.1, 1.0.1.0, 1.0.2.0, 1.0.3.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.11 && <4.16), contravariant (>=1.5 && <1.6), exceptions (>=0.10.4 && <0.11), lumberjack, mtl (>=2.2.2 && <2.3), prettyprinter (>=1.6 && <1.8), prettyprinter-ansi-terminal (>=1.1.1.2 && <1.2), text (>=1.2.3.1 && <1.3), time (>=1.8 && <1.10) [details] |
License | ISC |
Copyright | 2020, Galois Inc. |
Author | Kevin Quick |
Maintainer | kquick@galois.com |
Category | Logging |
Home page | https://github.com/GaloisInc/lumberjack |
Bug tracker | https://github.com/GaloisInc/lumberjack/issues |
Source repo | head: git clone https://github.com/GaloisInc/lumberjack.git |
Uploaded | by KevinQuick at 2020-12-20T19:39:48Z |
Distributions | Arch:1.0.3.0, Fedora:1.0.3.0, LTSHaskell:1.0.3.0, NixOS:1.0.3.0, Stackage:1.0.3.0 |
Reverse Dependencies | 1 direct, 2 indirect [details] |
Executables | example_log |
Downloads | 3314 total (8 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2020-12-20 [all 1 reports] |