Skip to content

Releases: dogmatiq/spruce

Version 0.2.3

Version 0.2.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Oct 05:48
v0.2.3
512fd23

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.
  • Fix incorrect tree line rendering of groups nested within other groups.
  • Fix value alignment when groups and non-group attributes are rendered at the same depth.

Changed

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

Version 0.2.2

Version 0.2.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 23:35
v0.2.2
41f94f4

Changed

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

Version 0.2.1

Version 0.2.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 23:20
v0.2.1
19be2ad

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.

Version 0.2.0

Version 0.2.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 22:28
v0.2.0
5fb6911

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

Version 0.1.1

Version 0.1.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Apr 23:15
v0.1.1
31fe260
  • Include the elapsed duration since the logger was created in each log message.

Version 0.1.0

Version 0.1.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Mar 02:21
v0.1.0
0b9165a
  • Initial release