Skip to content

Commit

Permalink
Correct logger variable name in stdout example (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusGMorrison authored May 11, 2023
1 parent 927516b commit 8981d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 8981d80

Please sign in to comment.