Releases: dogmatiq/spruce
Releases · dogmatiq/spruce
Release list
Version 0.2.3
Added
- Added
WithAbsoluteTimestamps()andWithRelativeTimestamps()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
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
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
Added
- Added
NewStreamLogger()andNewStreamHandler()functions that create loggers and handlers that write to anio.Writer.
Changed
- [BC] Renamed
NewLoggertoNewTestLogger - [BC] Renamed
NewHandlertoNewTestHandler
Version 0.1.1
- Include the elapsed duration since the logger was created in each log message.
Version 0.1.0
- Initial release