From 927516bcf137771377cc98fe2567688d30fb4132 Mon Sep 17 00:00:00 2001 From: Koung <20951663+koungkub@users.noreply.github.com> Date: Mon, 1 May 2023 19:04:49 +0700 Subject: [PATCH] doc(readme): fix a typo (#548) Co-authored-by: jirasak --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d424a72..68df81e 100644 --- a/README.md +++ b/README.md @@ -513,7 +513,7 @@ stdlog.Print("hello world") ### context.Context integration -The `Logger` isntance could be attached to `context.Context` values with `logger.WithContext(ctx)` +The `Logger` instance could be attached to `context.Context` values with `logger.WithContext(ctx)` and extracted from it using `zerolog.Ctx(ctx)`. Example to add logger to context: