# hslogger

> Logging framework for Haskell, modelled on Python's logging

Source: https://talira.ai/catalog/hslogger-fbycdh16
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / logging](https://talira.ai/categories/libraries/logging), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [haskell-hvr](https://talira.ai/orgs/haskell-hvr.md)

hslogger is a logging framework for [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md), 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.

## Links

- GitHub: https://github.com/haskell-hvr/hslogger
- Docs: https://github.com/haskell-hvr/hslogger/wiki

## 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

## Trust

Overall: 0.28 out of 1.
Signals: maintenance 0.27, adoption 0.37, momentum 0.04, community 0.62, backing 0.30, extensibility 0.00.

- 69 GitHub stars
- 34 contributors
- backed by haskell-hvr

Warnings:

- last commit 10 months ago

## Alternatives

- [fast-logger](https://talira.ai/catalog/fast-logger-tmw4a2yn.md): Fast, low-level logging for Haskell

## Sources

[^1]: https://github.com/haskell-hvr/hslogger/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://github.com/haskell-hvr/hslogger/blob/master/hslogger.cabal (checked 29 Nov 2026)
