Skip to content

Commit

Permalink
Correct logger variable name in stdout example (rs#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusGMorrison authored and mAdkins committed Mar 2, 2024
1 parent bf8423b commit 506b052
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 506b052

Please sign in to comment.