MCPcopy
hub / github.com/uber-go/zap / Debugw

Method Debugw

sugar.go:250–252  ·  view source on GitHub ↗

Debugw logs a message with some additional context. The variadic key-value pairs are treated as they are in With. When debug-level logging is disabled, this is much faster than s.With(keysAndValues).Debug(msg)

(msg string, keysAndValues ...interface{})

Source from the content-addressed store, hash-verified

248//
249// s.With(keysAndValues).Debug(msg)
250func (s *SugaredLogger) Debugw(msg string, keysAndValues ...interface{}) {
251 s.log(DebugLevel, msg, nil, keysAndValues)
252}
253
254// Infow logs a message with some additional context. The variadic key-value
255// pairs are treated as they are in With.

Callers 1

Calls 1

logMethod · 0.95

Tested by 1