All Versions
Latest Version
Avg Release Cycle
Latest Release
1475 days ago

Changelog History
Page 1

  • v0.4.0 Changes

    April 07, 2020

    ๐Ÿ”„ Changed

    • microlens is now used in place of lens.
    • The three lensy functions of the LoggerCtx class which were previously Setter' are now Lens'.
    • The following functions are now less polymorphic, requiring a strict Text instead of anything that had a IsText instance:
      • readColorOption
      • readLoggerHandleConfig
      • readLogLevel
      • readLogPolicy
  • v0.3.1 Changes

    • ๐Ÿ‘ Add support for tasty-hunit >= 0.10.

    • Raise lower bounds on some dependencies:

      • base >= 4.8
      • deepseq >= 1.4
      • aeson >= 0.11
      • time >= 1.5
    • Require Cabal >= 1.22.

    • ๐Ÿ‘ Drop support for GHC < 7.10.

  • v0.3.0 Changes

    • ๐Ÿšš Remove EitherT instance. It's recommended to use ExceptT instead.

    • ๐Ÿšš Remove TraceT instance. It's not actively maintained any more.

    • ๐Ÿ‘ Support aeson >= 0.11, which comes with instances for Natural.

    • ๐Ÿ‘ Support GHC-8.

    • MonadThrow, MonadCatch, and MonadMask instances for LoggerT.

    • ๐Ÿ‘ Support for Cabal-1.18 and time >= 1.4 && < 1.5.

  • v0.2.3 Changes

    • ๐Ÿ— Fix semantically invalid default NFData instance when build with deepseq <1.4.
  • v0.2.3.1 Changes

    • ๐Ÿ— Add missing NFData instance for Natural when build with deepseq>=1.4 and base<4.8.
  • v0.2.2 Changes

    • ๐Ÿ‘ [Issue #28] Generalized type of lens logMsg to support changing the message type.

    • ๐Ÿ›  [Issue #29] Fixed precision of formatIso8601 function.

    • [Issue #30] Added a version of withHandleBackend that is generic in the log message type and accept a formatting function for formatting the log message as text.

  • v0.2.1 Changes

    • ๐Ÿ‘ Support for trace-0.2.
  • v0.2 Changes

    • ๐Ÿšš Removed MonadLogIO; MonadBaseControl should be used instead.

    • ๐Ÿ“œ Issue #16: add an argument to all command-line options parsers that adds a prefix to the command-line options.

    • Issue #9: more robust logger backend

      • new functions that take an function of type Text -> IO () as an alternate backend to log issues in the logging system itself.

        • withLogger_
        • withLogFunction_
        • createLogger_
      • new parameters

        • loggerConfigExceptionLimit: Number of consecutive backend exception that can occur before the logger raises an BackendToManyExceptions exception. If this is Nothing the logger will discard all exceptions.
        • loggerConfigExceptionWait: Number of microseconds to wait after an exception from the backend. If this is 'Nothing' the logger won't wait at all after an exception.
        • loggerConfigExitTimeout: Timeout in microseconds for the logger to flush the queue and deliver all remaining log messages on termination. If this is Nothing termination of the logger blogs until all mesages are delivered.
      • new LoggerException type

        • QueueFullException is thrown when the queue is full and the logger policy is to throw exceptions on a full queue.
        • BackendTerminatedException can be thrown by a backend to force the logger immediately.
        • BackendToManyExceptions is thrown when the backend is throwing some unexpected exception more than list loggerConfigExceptionLimit times.
    • ๐Ÿ“ฆ Issue #12: a test-suite got added to the package. Note that this test-suite takes a relatively long time to run all tests. In particular this an cause timeouts with travis-ci.

    • ๐Ÿ›  Issue #14: the command line option for setting the log-level got fixed to be spelled --log-level (instead of --loglevel).

    • ๐ŸŒฒ Issue #22: added timestamp to log messages.

    • Replaced usage of Int by Natural where adequate.

    • Issue #6: use TBMChan as internal queue implementation until a new version of stm is released with a fix for TQueue.

  • v0.1.1 Changes

    • ๐ŸŒฒ Added MonadLogIO for loggers that allow to extract a log function of type LogFunctionIO.
  • v0.1 Changes

    • Added localScope function to MonadLog and and implemented withLabel based on it.

    • Added functions popLabel and clearScope. These are useful when setting log-labels for bracket style functions.

    • ๐Ÿšš Remove overlapping MonadLog instances.

    • Lift MonadTrace instances into LoggerCtxT.