Changelog of @hackage/Blammo 1.1.2.2

Unreleased

v1.1.2.2

  • Don't automatically colorize if TERM=dumb is found in ENV

  • Respect NO_COLOR

  • Automatically adjust log concurrency based on LOG_FORMAT:

    Disable concurrency for tty (making that the new default) and enable it for json. Setting LOG_CONCURRENCY will still be respected.

v1.1.2.1

  • Add various getColors* helper functions

v1.1.2.0

  • Add Blammo.Logging.LogSettings.LogLevels

v1.1.1.2

  • Fix bug in LOG_CONCURRENCY parser

v1.1.1.1

  • Add getLogSettingsConcurrency
  • Add getLoggerShouldColor
  • Add pushLoggerStr & pushLoggerStrLn
  • Add getLoggerLogSettings

v1.1.1.0

  • Terminal formatter: align attributes vertically if the message goes over a certain number of characters (default 120).
  • Adds {get,set}LogSettingsBreakpoint and LOG_BREAKPOINT parsing

v1.1.0.0

  • Add flushLogger
  • Ensure log is flushed even on exceptions.

v1.0.3.0

  • Add Env.{parse,parser}With functions for parsing 'LogSettings' from environment variables with custom defaults.

v1.0.2.3

  • Fix for localhost clientIp value in requestLogger (#18)

v1.0.2.2

  • Support down to LTS 12.26 / GHC 8.4

v1.0.2.1

  • Add configurability to requestLogger, set LogSource by default
  • Add ability to capture and retrieve logged messages, for testing

v1.0.1.1

  • Add addThreadContextFromRequest, a wai Middleware for adding context using information from the Request.

v1.0.0.1

  • Relax lower bounds, support GHC 8.8

v1.0.0.0

First tagged release.