Skip to content

Commit

Permalink
README.md: clarify -logtostderr
Browse files Browse the repository at this point in the history
It's a shortcut. The other options only matter when it is false.
  • Loading branch information
pohly committed Apr 4, 2022
1 parent c697110 commit 8bb43cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions klog.go
Expand Up @@ -41,6 +41,10 @@
//
// -logtostderr=true
// Logs are written to standard error instead of to files.
// This shortcuts most of the usual output routing:
// -alsologtostderr, -stderrthreshold and -log_dir have no
// effect and output redirection at runtime with SetOutput is
// ignored.
// -alsologtostderr=false
// Logs are written to standard error as well as to files.
// -stderrthreshold=ERROR
Expand Down

0 comments on commit 8bb43cc

Please sign in to comment.