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.
8.1.2 - 2023-08-16
- errors dependency which contains fixes for wrapped/wrapping errors.
8.1.1 - 2023-08-16
- errors.Link output in error function after updating dependency.
8.1.0 - 2023-08-15
- log.G as shorthand for adding a set of Grouped fields. This ability has always been present but is now fully supported in the default logger and with helper function for ease of use.
- slog support added in Go 1.21+ both to use as an slog.Handler or redirect.
- errors.Chain handling from default withErrorFn handler after dep upgrade.
8.0.2 - 2023-06-22
- Corrected removal of default logger upon registering a custom one.
8.0.1 - 2022-06-23
- Handling un-hashable tag values during dedupe process.
8.0.0 - 2022-06-07
- Automatic file, line and package addition to error log when using
WithError
.
- Handlers with dependencies; now encouraged to be separate packages.
- Byte Pool now exposed through function only.
- Default error format function and output of wrapped error information.
- Tags & Types are now deduplicated in the default error format function.
- Updated to latest deps.
- CI to use GitHub Actions.
- Documentation.
- Default timestamp format to RFC3339Nano.
- Console logger uses builder pattern.
- Removed colors from built in console logger.
- Removed ability to remove individual log levels externally; RemoveHandler+AddHandler can do the same.