@hackage hslogger-colorfmt1.0.0

Custom hslogger formatters implementing color output

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 dino@ui3.info

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