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.
0.8.0 - 2024-09-06
- Go 1.23 or newer is required.
0.7.0 - 2024-08-18
- Use seconds for logged durations.
- Format floating point number (including durations) to 3 digits.
- File logging level configuration.
0.6.0 - 2024-01-17
- Set main logging level using
LOGGING_MAIN_LEVEL
environment variable.
0.5.1 - 2023-11-17
- Default value shown for
--logging.main.level
.
0.5.0 - 2023-11-15
- Functions returned from
WithContext
can benil
when used inNewHandler
.
0.4.0 - 2023-11-03
NewHandler
to be used as a middleware withWithContext
to add logger to the context.
- Durations are logged only with millisecond precision.
0.3.0 - 2023-10-19
- Only set fields which are provided in logging config.
0.2.0 - 2023-10-18
- Change
--logging.context.conditional-level
and--logging.context.trigger-level
flags to--logging.context.conditional
and--logging.context.trigger
, respectively.
0.1.0 - 2023-10-17
- First public release.