Merge pull request #240 from thockin/glog

Default --logtostderr=true
pull/6/head
Daniel Smith 2014-06-24 21:40:17 -07:00
commit 7403b2335c
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ import (
var logFlushFreq = flag.Duration("log_flush_frequency", 5*time.Second, "Maximum number of seconds between log flushes")
// TODO(thockin): This is temporary until we agree on log dirs and put those into each cmd.
func init() {
flag.Set("logtostderr", "true")
}
// This serves as a bridge between the standard log package and the glog package.
type GlogWriter struct{}