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

Method Level

logger.go:214–216  ·  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

212//
213// For NopLoggers, this is [zapcore.InvalidLevel].
214func (log *Logger) Level() zapcore.Level {
215 return zapcore.LevelOf(log.core)
216}
217
218// Check returns a CheckedEntry if logging a message at the specified level
219// is enabled. It's a completely optional optimization; in high-performance

Callers

nothing calls this directly

Calls 1

LevelOfFunction · 0.92

Tested by

no test coverage detected