talira

hslogger

Logging framework for Haskell, modelled on Python's logging

open sourceBSD-3-Clausefree

hslogger is a logging framework for Haskell, roughly like Python's logging module: each message has a priority and a source, and global handlers route or filter messages by them. It has a built-in Syslog handler. Originally by John Goerzen, it's maintained under the haskell-hvr organisation.

Problems it solves

  • add logging with levels to a Haskell program
  • send Haskell logs to syslog
  • Python-style logging in Haskell

Features

  • priorities and sources on every message
  • global handlers that route and filter
  • built-in Syslog handler

Alternatives

The same job

These do what hslogger does.

  1. fast-logger Fast, low-level logging for Haskell

Compare hslogger with the top 3