TBR: update to latest version.
Change-Id: I88f19802772b85de31dde41600dae32c23095691
diff --git a/go/src/github.com/cosnicolaou/llog/README.google b/go/src/github.com/cosnicolaou/llog/README.google
index d55ffce..b359af7 100644
--- a/go/src/github.com/cosnicolaou/llog/README.google
+++ b/go/src/github.com/cosnicolaou/llog/README.google
@@ -1,5 +1,5 @@
-URL:https://github.com/cosnicolaou/llog/commit/ac9bbf37c10d39744f58b8f39205970557a64b10
-Version: ac9bbf37c10d39744f58b8f39205970557a64b10
+URL:https://github.com/cosnicolaou/llog/archive/c1522bcff3948fc1478e08bb01301df2c302dc0f.zip
+Version: c1522bcff3948fc1478e08bb01301df2c302dc0f
License: Apache 2.0
License File: LICENSE
diff --git a/go/src/github.com/cosnicolaou/llog/glog.go b/go/src/github.com/cosnicolaou/llog/glog.go
index b39d25c..b2a1620 100644
--- a/go/src/github.com/cosnicolaou/llog/glog.go
+++ b/go/src/github.com/cosnicolaou/llog/glog.go
@@ -509,7 +509,7 @@
verbosity Level // V logging level, the value of the -v flag/
// track lines/bytes per severity level
- stats Stats
+ stats *Stats
severityStats [numSeverity]*OutputStats
// number of stack frame to skip in order to reach the callpoint
@@ -528,7 +528,7 @@
// call point to be logged. 0 will log the caller of the logging methods,
// 1 their caller etc.
func NewLogger(name string, skip int) *Log {
- logging := &Log{}
+ logging := &Log{stats: new(Stats)}
logging.setVState(0, nil, nil, false)
logging.skip = 2 + skip
logging.maxStackBufSize = 4096 * 1024
@@ -1135,5 +1135,5 @@
}
func (l *Log) Stats() Stats {
- return l.stats
+ return *l.stats
}