-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: support call depth via logr, structured logging
The new releases of klog (via klogr) and logr expose support for call traces via a new WithCallDepth API in logr. The new klogr can be configured to pass structured log entries into klog instead of turning them into a single text message. Kubernetes-commit: 562a39a2e1e26854c06ac2b317f6f8a4ebb23ac1
- Loading branch information
1 parent
062b17e
commit a45fdeb
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters