@hackage co-log-simple1.0.0
Simple enhancements for logging with co-log
Categories
License
ISC
Maintainer
dino@ui3.info
Links
Versions
Installation
Dependencies (6)
- ansi-terminal >=1.0.2 && <2
- base >=3 && <5
- co-log >=0.6.0.2 && <0.7
- co-log-core >=0.3.2.1 && <0.4
- mtl >=2.3.1 && <3
- text >=2.0.2 && <2.2 Show all…
Dependents (1)
@hackage/photoname
co-log-simple
Synopsis
Simple enhancements for logging with co-log
Description
A library built upon co-log that makes constructing and using LogActions
simpler with some predefined formatters and a slightly enhanced Severity type
This library expresses some logging needs that recur in my work:
- Often I want more than one type of "info" severity to differentiate between more- or less-chatty output that's not debug or warning/error related. This library includes a new Severity type that adds Notice between Info and Warning.
- I've often wanted different colors for severities which is much easier with co-log than hslogger
- This library also includes a variety of formatters that should prove useful for various types of projects
For usage examples, see src/examples/Main.hs and the API docs for
Colog.Simple
Development
Source code is available from Codeberg at the co-log-simple project page.
Generate Haddock docs during development if using stack:
$ stack haddock --haddock --no-haddock-deps
Contact
Dino Morelli dino@ui3.info