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

Method Level

sugar.go:136–138  ·  view source on GitHub ↗

Level reports the minimum enabled level for this logger. For NopLoggers, this is [zapcore.InvalidLevel].

()

Source from the content-addressed store, hash-verified

134//
135// For NopLoggers, this is [zapcore.InvalidLevel].
136func (s *SugaredLogger) Level() zapcore.Level {
137 return zapcore.LevelOf(s.base.core)
138}
139
140// Log logs the provided arguments at provided level.
141// Spaces are added between arguments when neither is a string.

Callers

nothing calls this directly

Calls 1

LevelOfFunction · 0.92

Tested by

no test coverage detected