Updated Resources for slog (markdown)

Jonathan Amsterdam 2023-03-27 20:21:22 -04:00
parent 9f10ae9330
commit e5f9d3fe08

@ -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