Skip to content

Latest commit

 

History

History
84 lines (52 loc) · 1.92 KB

CHANGELOG.md

File metadata and controls

84 lines (52 loc) · 1.92 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Added WithAbsoluteTimestamps() and WithRelativeTimestamps() options.

Fixed

  • Fix loss of attribute indenting when using a grouped logger.
  • Fix reversion to relative timestamps when logging to an io.Writer.

Changed

  • Indent the attributes when logging to an io.Writer.

0.2.2 - 2024-07-19

Changed

  • Display a wall-clock time (instead of the duration since the logger was created) when logging to an io.Writer.'

0.2.1 - 2024-07-19

Changed

  • The group name is now displayed in the "meta-data" section at the beginning of the log line.

Fixed

  • With() now places attributes in the current group instead of at the root.

0.2.0 - 2024-07-19

Added

  • Added NewStreamLogger() and NewStreamHandler() functions that create loggers and handlers that write to an io.Writer.

Changed

  • [BC] Renamed NewLogger to NewTestLogger
  • [BC] Renamed NewHandler to NewTestHandler

0.1.1 - 2024-04-09

  • Include the elapsed duration since the logger was created in each log message.

0.1.0 - 2024-03-02

  • Initial release.