Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Nov 21, 2023
1 parent f2ed756 commit 3a62b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ The `log.Colors` can be used by callers and they'll be empty string when not in

`LogAndCall()` combines `LogRequest` and `LogResponse` for a light middleware recording what happens during serving of a request (both incoming and outgoing attributes).

For instance (most attributes elided for brievety, also logs client cert and TLSInfo if applicable)
For instance (most attributes elided for brevity, also logs client cert and TLSInfo if applicable)
```json
{"level":"info","msg":"test-log-and-call2","method":"GET","url":{"Path":"/tea"},"status":418,"size":5,"microsec":100042}
{"level":"info","msg":"test-log-and-call2","method":"GET","url":"/tea","status":418,"size":5,"microsec":100042}
```

# Config
Expand Down

0 comments on commit 3a62b90

Please sign in to comment.