Skip to content

Commit

Permalink
docs: minor typos (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed May 14, 2020
1 parent e027a83 commit 663cbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -341,7 +341,7 @@ If your writer might be slow or not thread-safe and you need your log producers
wr := diode.NewWriter(os.Stdout, 1000, 10*time.Millisecond, func(missed int) {
fmt.Printf("Logger Dropped %d messages", missed)
})
log := zerolog.New(w)
log := zerolog.New(wr)
log.Print("test")
```

Expand Down Expand Up @@ -435,7 +435,7 @@ c := alice.New()
c = c.Append(hlog.NewHandler(log))

// Install some provided extra handler to set some request's context fields.
// Thanks to those handler, all our logs will come with some pre-populated fields.
// Thanks to that handler, all our logs will come with some prepopulated fields.
c = c.Append(hlog.AccessHandler(func(r *http.Request, status, size int, duration time.Duration) {
hlog.FromRequest(r).Info().
Str("method", r.Method).
Expand Down

0 comments on commit 663cbb4

Please sign in to comment.