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
WithAbsoluteTimestamps()
andWithRelativeTimestamps()
options.
- Fix loss of attribute indenting when using a grouped logger.
- Fix reversion to relative timestamps when logging to an
io.Writer
.
- Indent the attributes when logging to an
io.Writer
.
0.2.2 - 2024-07-19
- 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
- The group name is now displayed in the "meta-data" section at the beginning of the log line.
With()
now places attributes in the current group instead of at the root.
0.2.0 - 2024-07-19
- Added
NewStreamLogger()
andNewStreamHandler()
functions that create loggers and handlers that write to anio.Writer
.
- [BC] Renamed
NewLogger
toNewTestLogger
- [BC] Renamed
NewHandler
toNewTestHandler
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.