Browse Source

Adjust log message for glog.

pull/118/head
chrislusf 10 years ago
parent
commit
7cc1f473b6
  1. 2
      go/glog/glog.go

2
go/glog/glog.go

@ -736,7 +736,7 @@ var logExitFunc func(error)
// It flushes the logs and exits the program; there's no point in hanging around.
// l.mu is held.
func (l *loggingT) exit(err error) {
fmt.Fprintf(os.Stderr, "log: exiting because of error: %s\n", err)
fmt.Fprintf(os.Stderr, "glog: exiting because of error: %s\n", err)
// If logExitFunc is set, we do that instead of exiting.
if logExitFunc != nil {
logExitFunc(err)

Loading…
Cancel
Save