From f733a30fab37f90b78318fb60a78cc9a5cb96399 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Fri, 19 Jan 2024 08:15:06 +0100 Subject: [PATCH] url + example fixes --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 252cb3b..9002c6f 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ The log format generated by yadu looks like this: ```go logger := slog.New(yadu.NewHandler(os.Stdout, nil)) +type body string + type Ammo struct { Forweapon string Impact int @@ -118,15 +120,12 @@ handler][humane]. Also helpfull was the [guide to writing `slog` handlers][guid + [humane slog handler][humane] + [A Guide to Writing `slog` Handlers][guide] -+ [`slog`: Golang's official structured logging package][sobyte] + [A Comprehensive Guide to Structured Logging in Go][betterstack] [humane]: https://github.com/telemachus/humane/tree/main [guide]: https://github.com/golang/example/tree/master/slog-handler-guide -[mrkaran]: https://mrkaran.dev/posts/structured-logging-in-go-with-slog/ [betterstack]: https://betterstack.com/community/guides/logging/logging-in-go/ - ## LICENSE This module is published under the terms of the BSD 3-Clause