MCPcopy
hub / github.com/etcd-io/bbolt / EnableTimestamps

Method EnableTimestamps

logger.go:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func (l *DefaultLogger) EnableTimestamps() {
50 l.SetFlags(l.Flags() | log.Ldate | log.Ltime)
51}
52
53func (l *DefaultLogger) EnableDebug() {
54 l.debug = true

Callers

nothing calls this directly

Calls 2

SetFlagsMethod · 0.45
FlagsMethod · 0.45

Tested by

no test coverage detected