MCPcopy
hub / github.com/op/go-logging / Debug

Method Debug

logger.go:248–250  ·  view source on GitHub ↗

Debug logs a message using DEBUG as log level.

(args ...interface{})

Source from the content-addressed store, hash-verified

246
247// Debug logs a message using DEBUG as log level.
248func (l *Logger) Debug(args ...interface{}) {
249 l.log(DEBUG, nil, args...)
250}
251
252// Debugf logs a message using DEBUG as log level.
253func (l *Logger) Debugf(format string, args ...interface{}) {

Callers 10

TestFormatFunction · 0.80
logAndGetLineFunction · 0.80
BenchmarkStringFormatterFunction · 0.80
TestMultiLoggerFunction · 0.80
RunLogBenchmarkFunction · 0.80
TestSequenceNoOverflowFunction · 0.80
TestRedactFunction · 0.80
TestPrivateBackendFunction · 0.80
LogMethod · 0.80

Calls 1

logMethod · 0.95

Tested by 9

TestFormatFunction · 0.64
logAndGetLineFunction · 0.64
BenchmarkStringFormatterFunction · 0.64
TestMultiLoggerFunction · 0.64
RunLogBenchmarkFunction · 0.64
TestSequenceNoOverflowFunction · 0.64
TestRedactFunction · 0.64
TestPrivateBackendFunction · 0.64