Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
I think the reference to 'glog' should be 'klog'.
  • Loading branch information
cocaccola committed Nov 17, 2021
1 parent 9ad2462 commit 4b820ea
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 4b820ea

Please sign in to comment.