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

Method Level

zaptest/observer/observer.go:174–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172)
173
174func (co *contextObserver) Level() zapcore.Level {
175 return zapcore.LevelOf(co.LevelEnabler)
176}
177
178func (co *contextObserver) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry {
179 if co.Enabled(ent.Level) {

Callers

nothing calls this directly

Calls 1

LevelOfFunction · 0.92

Tested by

no test coverage detected