diff --git a/Resources-for-slog.md b/Resources-for-slog.md index f284fa80..e396e331 100644 --- a/Resources-for-slog.md +++ b/Resources-for-slog.md @@ -1,6 +1,6 @@ -This page links to projects that use or enhance `slog`, the [proposed](https://go.dev/issue/56345) structured logging package for the standard library. +This page links to projects that use or enhance `slog`, the [proposed](https://go.dev/issue/56345) structured logging package for the standard library, accepted for Go 1.21. -Currently, `slog` is at [golang.org/x/exp/slog](https://pkg.go.dev/golang.org/x/exp/slog). +A preliminary implementation is at [golang.org/x/exp/slog](https://pkg.go.dev/golang.org/x/exp/slog). That won't be receiving any more updates; instead, follow the `src/log/slog` directory of the [main Go repo](https://go.googlesource.com/go). - ConsoleHandler (similar to Zap's ConsoleEncoder): https://gist.github.com/wijayaerick/de3de10c47a79d5310968ba5ff101a19 - Zap Handler, a slog handler that uses Zap: https://github.com/chanchal1987/zaphandler