Adjust log message for glog.

This commit is contained in:
chrislusf 2015-04-15 00:01:32 -07:00
parent 49d639ecab
commit 7cc1f473b6

View file

@ -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)