Skip to content

Commit

Permalink
Merge pull request #68 from ymmt2005/patch-1
Browse files Browse the repository at this point in the history
Update godoc for the default value of logtostderr
  • Loading branch information
k8s-ci-robot authored May 29, 2019
2 parents 4b47a90 + 314f6c4 commit 78315d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klog.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
// Log output is buffered and written periodically using Flush. Programs
// should call Flush before exiting to guarantee all log output is written.
//
// By default, all log statements write to files in a temporary directory.
// By default, all log statements write to standard error.
// This package provides several flags that modify this behavior.
// As a result, flag.Parse must be called before any logging is done.
//
// -logtostderr=false
// -logtostderr=true
// Logs are written to standard error instead of to files.
// -alsologtostderr=false
// Logs are written to standard error as well as to files.
Expand Down

0 comments on commit 78315d9

Please sign in to comment.