Skip to content

Commit

Permalink
Merge pull request #270 from cocaccola/patch-1
Browse files Browse the repository at this point in the history
fix typo in klog.go
  • Loading branch information
k8s-ci-robot committed Feb 7, 2022
2 parents e7e4115 + cc9898f commit 9aa4b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klog.go
Expand Up @@ -1407,7 +1407,7 @@ func newVerbose(level Level, b bool) Verbose {
// The returned value is a struct of type Verbose, which implements Info, Infoln
// and Infof. These methods will write to the Info log if called.
// Thus, one may write either
// if glog.V(2).Enabled() { klog.Info("log this") }
// if klog.V(2).Enabled() { klog.Info("log this") }
// or
// klog.V(2).Info("log this")
// The second form is shorter but the first is cheaper if logging is off because it does
Expand Down

0 comments on commit 9aa4b98

Please sign in to comment.