log-warper: Flexible, configurable, monadic and pretty logging

[ library, logging, mit, program ] [ Propose Tags ]
Versions [RSS] 0.2.1, 0.2.2, 0.2.3, 0.2.5, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.3.1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.8.10, 1.8.10.1, 1.8.11, 1.9.0 (info)
Change log CHANGES.md
Dependencies aeson (>=1.2 && <1.3), ansi-terminal (>=0.7 && <0.8), base (>=4.9 && <5), containers (>=0.5.7.1 && <0.6), deepseq (>=1.4 && <1.5), directory (>=1.3 && <1.4), filepath (>=1.4.1 && <1.5), fmt (>=0.5.0.0 && <0.6), log-warper, markdown-unlit (>=0.4), microlens (>=0.4), microlens-platform (>=0.3.9 && <0.4), mmorph (>=1.1 && <1.2), monad-control (>=1.0.1.0 && <1.1), monad-loops (>=0.4.3 && <0.5), mtl (>=2.2.1 && <2.3), text (>=1.2.2.1 && <1.3), time (>=1.8 && <1.9), transformers (>=0.5.2 && <0.6), transformers-base (>=0.4.4 && <0.5), universum (>=1.0.2 && <1.1), unix, unordered-containers (>=0.2.7.1 && <0.2.9), vector (>=0.12 && <0.13), yaml (>=0.8.20 && <0.9) [details]
License MIT
Copyright 2016-2017 Serokell
Author @serokell
Maintainer Serokell <hi@serokell.io>
Category Logging
Home page https://github.com/serokell/log-warper
Uploaded by shersh at 2018-01-04T23:49:19Z
Distributions
Reverse Dependencies 4 direct, 1 indirect [details]
Executables pure-how-to, how-to, play-log
Downloads 28967 total (164 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2018-01-04 [all 1 reports]

Readme for log-warper-1.8.5

[back to package description]

log-warper

Build Status Hackage Stackage LTS Stackage Nightly License: MIT

Auxilary logging library, which is wrapper over hslogger but allows to keep logger name into monadic context, making logging less boilerplate.

Key features:

  1. Output is colored
  2. Supports logging initialization from .yaml configuration file
  3. Has wrapper for pure logging via StateT
  4. Supports log rotation
  5. Flexibles and easy setting up of loggers (using monoidal builders and lenses)
  6. Ability to acquire last N megabytes of logs from in-memory cache

Contributing

This project uses universum as default prelude