packages feed

hslogger-colorfmt-1.0.0: README.md

# 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](src/examples/Main.hs):

<img src='doc/hslogger-colorfmt_screenshot1.png' /><br>

For examining and choosing colors, there are many scripts out there for
displaying 256 color samples in terminals. Here's a particularly
[nice one](https://gist.github.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263).


## Getting source

Source code is available here: [hslogger-colorfmt](https://codeberg.org/dinofp/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](doc/MadeByAHuman_01.png)](https://ko-fi.com/s/4662b19f61) This work is hand-crafted with no LLM/AI involved