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.0@sha256:2fc8ab7021e0a5b35714539280358a8a3edacdc1b96163387708d90414fa59c7,3008

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

See also https://pvp.haskell.org/faq

1.3.1.0 (minor)

  • 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 (major)

  • [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