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

Method Logw

sugar.go:240–242  ·  view source on GitHub ↗

Logw logs a message with some additional context. The variadic key-value pairs are treated as they are in With.

(lvl zapcore.Level, msg string, keysAndValues ...interface{})

Source from the content-addressed store, hash-verified

238// Logw logs a message with some additional context. The variadic key-value
239// pairs are treated as they are in With.
240func (s *SugaredLogger) Logw(lvl zapcore.Level, msg string, keysAndValues ...interface{}) {
241 s.log(lvl, msg, nil, keysAndValues)
242}
243
244// Debugw logs a message with some additional context. The variadic key-value
245// pairs are treated as they are in With.

Callers 1

Calls 1

logMethod · 0.95

Tested by 1