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

Struct DefaultLogger

logger.go:44–47  ·  view source on GitHub ↗

DefaultLogger is a default implementation of the Logger interface.

Source from the content-addressed store, hash-verified

42
43// DefaultLogger is a default implementation of the Logger interface.
44type DefaultLogger struct {
45 *log.Logger
46 debug bool
47}
48
49func (l *DefaultLogger) EnableTimestamps() {
50 l.SetFlags(l.Flags() | log.Ldate | log.Ltime)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected