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

[ library, logging, mit, program ] [ Propose Tags ]

This package implements nice and featureful wrapper around hslogger library.


[Skip to Readme]
Versions 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 (info)
Change log CHANGES.md
Dependencies aeson (>=0.11.2.1), ansi-terminal (>=0.6.2.3), base (>=4.7 && <5), containers (>=0.5.7.1), deepseq (>=1.2.0.0), directory (>=1.2.6.2), filepath (>=1.4.1), fmt (>=0.5.0.0), log-warper, markdown-unlit (>=0.4.0), microlens (>=0.4), microlens-platform (>=0.3.9), mmorph (>=1.0.9), monad-control (>=1.0.1.0), monad-loops (>=0.4.3), mtl (>=2.2.1), text (>=1.2.2.1), time (>=1.6.0.1), transformers (>=0.5.2), transformers-base (>=0.4.4), universum (>=1.0.0), unix, unordered-containers (>=0.2.7.1), vector (>=0.12), yaml (>=0.8.20) [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 Sat Dec 30 21:17:29 UTC 2017
Distributions NixOS:1.8.11
Executables pure-how-to, how-to, play-log
Downloads 14453 total (116 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-01-01 [all 3 reports]
Hackage Matrix CI

Modules

  • System
    • System.Wlog
      • System.Wlog.CanLog
      • System.Wlog.Exception
      • System.Wlog.FileUtils
      • System.Wlog.Formatter
      • System.Wlog.HasLoggerName
      • System.Wlog.IOLogger
      • System.Wlog.Launcher
      • System.Wlog.LogHandler
        • System.Wlog.LogHandler.Roller
        • System.Wlog.LogHandler.Simple
      • System.Wlog.LoggerConfig
      • System.Wlog.LoggerName
      • System.Wlog.LoggerNameBox
      • System.Wlog.PureLogging
      • System.Wlog.Severity
      • System.Wlog.Terminal

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for log-warper-1.8.4

[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 :star:
  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