From aa15f68b4b2cf60f7b76d135dc90d10382cf5e23 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Thu, 15 Dec 2022 13:49:49 -0500 Subject: [PATCH] Updated Resources for slog (markdown) --- Resources-for-slog.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources-for-slog.md b/Resources-for-slog.md index a34a5294..cee017df 100644 --- a/Resources-for-slog.md +++ b/Resources-for-slog.md @@ -4,4 +4,5 @@ Currently, `slog` is at [golang.org/x/exp/slog](https://pkg.go.dev/golang.org/x/ - 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 -- logf (attr {key} interpolation, rich tty output): https://pkg.go.dev/github.com/AndrewHarrisSPU/logf \ No newline at end of file +- logf (attr {key} interpolation, rich tty output): https://pkg.go.dev/github.com/AndrewHarrisSPU/logf +- Experimental example using both OpenTelemetry and `slog`: https://github.com/justinsb/experiments-slog \ No newline at end of file