diff options
| -rw-r--r-- | contributors/devel/sig-instrumentation/migration-to-structured-logging.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/devel/sig-instrumentation/migration-to-structured-logging.md b/contributors/devel/sig-instrumentation/migration-to-structured-logging.md index d6acb7ea..5e84e45a 100644 --- a/contributors/devel/sig-instrumentation/migration-to-structured-logging.md +++ b/contributors/devel/sig-instrumentation/migration-to-structured-logging.md @@ -173,7 +173,7 @@ klog.Infof("delete pod %s with propagation policy %s", ...) ``` should be changed to ```go -klog.Infof("Deleted pod", ...) +klog.InfoS("Deleted pod", ...) ``` Some logs are constructed solely from string formats. In those cases a message needs to be derived from the context of |
