BSD-3-Clause licensed by John Goerzen
Maintained by https://github.com/haskell-hvr/hslogger
This version can be pinned in stack with:hslogger-1.3.1.2@sha256:285c230fdea10961b0777ad4c08b6bf29527033c0ea8ca7426ac6357423ae045,2957

hslogger is a logging framework for Haskell, roughly similar to Python's logging module.

hslogger lets each log message have a priority and source be associated with it. The programmer can then define global handlers that route or filter messages based on the priority and source. hslogger also has a Syslog handler built in.

Changes

1.3.1.2

2025-03-11, Andreas Abel

  • Thoroughly drop support for GHC 7
  • Allow newer containers
  • Tested with GHC 8.0 - 9.12.1

1.3.1.1

2024-04-15, Andreas Abel

  • Drop support for GHC 7
  • Tested with GHC 8.0 - 9.10

1.3.1.0

2019-10-07, Herbert Valerio Riedel

  • Evaluate message before taking lock in simple handler (#49)
  • Define Typeable, Data, Generic and NFData instances for System.Log.Priority (#43)

1.3.0.0

2019-04-15, Herbert Valerio Riedel

  • [semantic change] Messages are encoded as UTF-8 (previously the encoding was locale dependent) for the Syslog and Growl backends
  • Add support for network-3.0; remove redundant dependency on directory and process