diff options
| author | Mickey Pashov <mickeypash@users.noreply.github.com> | 2020-10-03 20:08:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-03 20:08:21 +0100 |
| commit | 4eeba4d57bed01502cb09598a74d21671d4ee876 (patch) | |
| tree | f360a7034d97fabc3456e3a884803cf7944e07da | |
| parent | f496e21e418175f9f40a0f11cd42f63bb85c0583 (diff) | |
Mention the new structured logging convention
As part of the structured logging migration It's probably worth having a line here for `InfoS()`
| -rw-r--r-- | contributors/devel/sig-instrumentation/logging.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contributors/devel/sig-instrumentation/logging.md b/contributors/devel/sig-instrumentation/logging.md index c4da6829..d7e052c0 100644 --- a/contributors/devel/sig-instrumentation/logging.md +++ b/contributors/devel/sig-instrumentation/logging.md @@ -29,6 +29,8 @@ The following conventions for the klog levels to use. * Context to understand the steps leading up to errors and warnings * More information for troubleshooting reported issues +* klog.InfoS() - structured logs to the INFO log + As per the comments, the practical default level is V(2). Developers and QE environments may wish to run at V(3) or V(4). If you wish to change the log level, you can pass in `-v=X` where X is the desired maximum level to log. |
