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

Method String

level.go:127–129  ·  view source on GitHub ↗

String returns the string representation of the underlying Level.

()

Source from the content-addressed store, hash-verified

125
126// String returns the string representation of the underlying Level.
127func (lvl AtomicLevel) String() string {
128 return lvl.Level().String()
129}
130
131// UnmarshalText unmarshals the text to an AtomicLevel. It uses the same text
132// representations as the static zapcore.Levels ("debug", "info", "warn",

Callers 15

TestAtomicLevelTextFunction · 0.95
checkStdLogMessageFunction · 0.45
MarshalLogArrayMethod · 0.45
TestSugaredLoggerLevelFunction · 0.45
TestLoggerLevelFunction · 0.45
checkMethod · 0.45
FuzzAtomicLevelServeHTTPFunction · 0.45
convertAttrToFieldFunction · 0.45

Calls 1

LevelMethod · 0.95

Tested by 13

TestAtomicLevelTextFunction · 0.76
checkStdLogMessageFunction · 0.36
TestSugaredLoggerLevelFunction · 0.36
TestLoggerLevelFunction · 0.36
FuzzAtomicLevelServeHTTPFunction · 0.36
TestAddCallerFunction · 0.36
TestEmptyAttrFunction · 0.36
TestInlineGroupFunction · 0.36