co-log-simple: Simple enhancements for logging with co-log

[ library, program, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

A library built upon co-log that makes constructing and using LogActions simpler with some predefined formatters and a slightly enhanced Severity type


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0
Change log CHANGELOG.md
Dependencies 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), co-log-simple, mtl (>=2.3.1 && <3), text (>=2.0.2 && <2.2) [details]
License ISC
Copyright 2025 Dino Morelli
Author Dino Morelli
Maintainer dino@ui3.info
Category Unclassified
Source repo head: git clone https://codeberg.org/dinofp/co-log-simple
Uploaded by DinoMorelli at 2025-08-07T21:34:28Z
Distributions
Executables co-log-simple
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-08-07 [all 1 reports]

Readme for co-log-simple-1.0.0

[back to package description]

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:

  1. 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.
  2. I've often wanted different colors for severities which is much easier with co-log than hslogger
  3. 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