Skip to content

Commit

Permalink
enhance readability
Browse files Browse the repository at this point in the history
Signed-off-by: jiajunye <[email protected]>
  • Loading branch information
jiajunye committed Sep 24, 2020
1 parent f8dfdd7 commit 701ab40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/root/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,6 @@ formats. It’s like having the cake and eating it too!
## User-specified Nighthawk logging

Users can use their own Nighthawk logging options when calling **ENVOY_LOG**.
Basically it would require two steps: 1) Create a logging sink delegate
inherited from [Envoy SinkDelegate](https://github.com/envoyproxy/envoy/blob/master/source/common/common/logger.h). 2) Constructor a ServiceImpl object with
an [Envoy Logger Context](https://github.com/envoyproxy/envoy/blob/master/source/common/common/logger.h) which contains user-specified log level and format.
Basically it would require two steps:
1. Create a logging sink delegate inherited from [Envoy SinkDelegate](https://github.com/envoyproxy/envoy/blob/master/source/common/common/logger.h).
2. Constructor a ServiceImpl object with an [Envoy Logger Context](https://github.com/envoyproxy/envoy/blob/master/source/common/common/logger.h) which contains user-specified log level and format.

0 comments on commit 701ab40

Please sign in to comment.