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

Interface Logger

logger.go:25–30  ·  view source on GitHub ↗

Logger is implemented by any logging system that is used for standard logs.

Source from the content-addressed store, hash-verified

23
24// Logger is implemented by any logging system that is used for standard logs.
25type Logger interface {
26 Errorf(string, ...interface{})
27 Warningf(string, ...interface{})
28 Infof(string, ...interface{})
29 Debugf(string, ...interface{})
30}
31
32// Errorf logs an ERROR log message to the logger specified in opts or to the
33// global logger if no logger is specified in opts.

Callers 32

exceedsSizeFunction · 0.65
BackupMethod · 0.65
rewriteMethod · 0.65
errFileFunction · 0.65
openMethod · 0.65
validateWritesMethod · 0.65
getFileRLockedMethod · 0.65
ReadMethod · 0.65
rewriteMethod · 0.65
updateDiscardStatsMethod · 0.65
replayFunctionMethod · 0.65
closeMethod · 0.65

Implementers 3

Optionsoptions.go
mockLoggerlogger_test.go
defaultLoglogger.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…