From 8981d80ed338dab0fc9bec56587e0bd0e3c4c40d Mon Sep 17 00:00:00 2001 From: Angus <45074804+AngusGMorrison@users.noreply.github.com> Date: Thu, 11 May 2023 13:00:42 +0100 Subject: [PATCH] Correct logger variable name in stdout example (#549) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68df81ef..312b3b1e 100644 --- a/README.md +++ b/README.md @@ -499,7 +499,7 @@ log.Ctx(ctx).Info().Msg("hello world") ### Set as standard logger output ```go -log := zerolog.New(os.Stdout).With(). +stdlog := zerolog.New(os.Stdout).With(). Str("foo", "bar"). Logger()