summaryrefslogtreecommitdiff
path: root/contributors
diff options
context:
space:
mode:
authorCatherineF-dev <yinghongfang@google.com>2021-11-03 22:43:22 -0400
committerCatherineF-dev <yinghongfang@google.com>2021-11-03 22:43:22 -0400
commit0b66280b73ed0bf7b6394bc40c6cfc6c082045ae (patch)
treec5759604cd32891bf86686cb609d6731a0beb951 /contributors
parente98dcfdbea799e3c7e628f193b9bdd7a11786a7f (diff)
Update logging.md
Diffstat (limited to 'contributors')
-rw-r--r--contributors/devel/sig-instrumentation/logging.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/contributors/devel/sig-instrumentation/logging.md b/contributors/devel/sig-instrumentation/logging.md
index b8e59a28..9ae2aaab 100644
--- a/contributors/devel/sig-instrumentation/logging.md
+++ b/contributors/devel/sig-instrumentation/logging.md
@@ -47,6 +47,7 @@ I0528 19:15:22.737538 47512 logtest.go:52] msg...
```
This log line have this form:
+```
Lmmdd hh:mm:ss.uuuuuu threadid file:line] msg...
where the fields are defined as follows:
L A single character, representing the log level (eg 'I' for INFO)
@@ -57,5 +58,5 @@ where the fields are defined as follows:
file The file name
line The line number
msg The user-supplied message
-
+```
See more in [here](https://github.com/kubernetes/klog/blob/9ad246211af1ed84621ee94a26fcce0038b69cd1/klog.go#L581-L597)