hslogger-colorfmt

Custom hslogger formatters implementing color output

Stackage Nightly 2026-08-30:1.0.0
Latest on Hackage:1.0.0

See all snapshots hslogger-colorfmt appears in

ISC licensed by Dino Morelli
Maintained by [email protected]
This version can be pinned in stack with:hslogger-colorfmt-1.0.0@sha256:ec9180c579c73f4aca8c0c9c7fcd4a99f91c9939ab060c78f910d525023a2e40,1312

Module documentation for 1.0.0

hslogger-colorfmt

Synopsis

Custom hslogger formatters implementing color output

Description

This library adds some custom log formatters implementing color output. We have also added code to pad the Priority strings in log messages if desired.

Here’s a screenshot of output from some sample code:

For examining and choosing colors, there are many scripts out there for displaying 256 color samples in terminals. Here’s a particularly nice one.

Getting source

Source code is available here: hslogger-colorfmt

Handy command to generate Haddock docs during development if using stack. This constrains doc generation to modules in the library:

$ stack haddock --haddock --no-haddock-deps

Contact

Dino Morelli [email protected]

Made by a human badge This work is hand-crafted with no LLM/AI involved

Changes

1.0.0 (2026-08-27)

  • Initial release