From 6c67a2b7c46f1ed55f373fd2bfa6f744a7774b81 Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Fri, 9 Dec 2022 07:37:22 -0500 Subject: [PATCH] Updated Resources for slog (markdown) --- Resources-for-slog.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Resources-for-slog.md b/Resources-for-slog.md index 58a17543..11318423 100644 --- a/Resources-for-slog.md +++ b/Resources-for-slog.md @@ -1,3 +1,7 @@ -# Resources for slog +This page links to projects that use or enhance `slog`, the [proposed](https://go.dev/issue/56345) structured logging package for the standard library. + +Currently, `slog` is at [golang.org/x/exp/slog](https://pkg.go.dev/golang.org/x/exp/slog). + +- 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 -This page links to projects that use `slog`, the [proposed](#56345) structured logging package for the standard library. \ No newline at end of file