Skip to content

Commit

Permalink
Fix the standard logger output example (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar authored Aug 20, 2023
1 parent ad77222 commit b81cc57
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
stdlog := zerolog.New(os.Stdout).With().
log := zerolog.New(os.Stdout).With().
Str("foo", "bar").
Logger()

Expand Down

0 comments on commit b81cc57

Please sign in to comment.