From 67d7e785d326b65b91a8fc01bf6708891bc9a809 Mon Sep 17 00:00:00 2001 From: AndrewHarrisSPU <44661351+AndrewHarrisSPU@users.noreply.github.com> Date: Thu, 29 Dec 2022 23:27:01 -0800 Subject: [PATCH] Updated Resources for slog (markdown) --- Resources-for-slog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources-for-slog.md b/Resources-for-slog.md index a5b6d840..c3bc6c79 100644 --- a/Resources-for-slog.md +++ b/Resources-for-slog.md @@ -4,6 +4,6 @@ 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 +- logf (attr {key} interpolation, rich tty output): https://pkg.go.dev/github.com/AndrewHarrisSPU/logf (uses lazy Handler stores: https://go.dev/play/p/psdD7KDF5fp) - Experimental example using both OpenTelemetry and `slog`: https://github.com/justinsb/experiments-slog - Additional resources written by jba: https://github.com/jba/slog \ No newline at end of file