MCPcopy
hub / github.com/dgraph-io/badger / defaultLogger

Function defaultLogger

logger.go:79–81  ·  view source on GitHub ↗
(level loggingLevel)

Source from the content-addressed store, hash-verified

77}
78
79func defaultLogger(level loggingLevel) *defaultLog {
80 return &defaultLog{Logger: log.New(os.Stderr, "badger ", log.LstdFlags), level: level}
81}
82
83func (l *defaultLog) Errorf(f string, v ...interface{}) {
84 if l.level <= ERROR {

Callers 2

DefaultOptionsFunction · 0.85
WithLoggingLevelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…