You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [Unreleased]
8
8
9
+
## [8.1.0] - 2023-08-16
10
+
### Added
11
+
- 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.
12
+
- slog support added in Go 1.21+ both to use as an slog.Handler or redirect.
13
+
14
+
### Fixed
15
+
- errors.Chain handling from default withErrorFn handler after dep upgrade.
16
+
17
+
## [8.0.2] - 2023-06-22
18
+
### Fixed
19
+
- Corrected removal of default logger upon registering a custom one.
20
+
9
21
## [8.0.1] - 2022-06-23
10
22
### Fixed
11
23
- Handling un-hashable tag values during dedupe process.
@@ -30,6 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
42
- Removed ability to remove individual log levels externally; RemoveHandler+AddHandler can do the same.
|[Handler](_examples/slog/hanlder/main.go)| This example demonstrates how to redirect the std log and slog to this logger by using it as an slog.Handler. |
164
+
|[Redirect](_examples/slog/redirect/main.go)| This example demonstrates how to redirect the std log and slog to this logger and output back out to any slog.Handler, as well as any other handler(s) registered with this logger. |
0 commit comments