Correct logger variable name in stdout example (#549)

This commit is contained in:
Angus 2023-05-11 13:00:42 +01:00 committed by GitHub
parent 927516bcf1
commit 8981d80ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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()