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

Method Get

zapcore/level.go:208–210  ·  view source on GitHub ↗

Get gets the level for the flag.Getter interface.

()

Source from the content-addressed store, hash-verified

206
207// Get gets the level for the flag.Getter interface.
208func (l *Level) Get() interface{} {
209 return *l
210}
211
212// Enabled returns true if the given level is at or above this level.
213func (l Level) Enabled(lvl Level) bool {

Callers 15

newJSONEncoderFunction · 0.45
resetReflectBufMethod · 0.45
cloneMethod · 0.45
TestJSONCloneFunction · 0.45
TestJSONEscapingFunction · 0.45
zapEncodeFunction · 0.45
fuzzSafeAppendStringLikeFunction · 0.45
getSliceEncoderFunction · 0.45
EncodeEntryMethod · 0.45
getCheckedEntryFunction · 0.45
FullPathMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestJSONCloneFunction · 0.36
TestJSONEscapingFunction · 0.36
zapEncodeFunction · 0.36
fuzzSafeAppendStringLikeFunction · 0.36
TestLevelAsFlagValueFunction · 0.36