Skip to content

Commit

Permalink
**What this PR does / why we need it**: Fixes minor documentation iss…
Browse files Browse the repository at this point in the history
…ue. The reference to 'glog' should be 'klog'.
  • Loading branch information
cocaccola committed Nov 19, 2021
1 parent 9ad2462 commit cc9898f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klog.go
Expand Up @@ -1297,7 +1297,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 cc9898f

Please sign in to comment.