MCPcopy
hub / github.com/CodisLabs/codis / SetLevel

Method SetLevel

pkg/utils/log/log.go:163–165  ·  view source on GitHub ↗
(v LogLevel)

Source from the content-addressed store, hash-verified

161}
162
163func (l *Logger) SetLevel(v LogLevel) {
164 l.level.Set(v)
165}
166
167func (l *Logger) SetLevelString(s string) bool {
168 var v LogLevel

Callers 9

SetLevelStringMethod · 0.95
SetLevelFunction · 0.80
initFunction · 0.80
initFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

SetMethod · 0.45

Tested by 2

initFunction · 0.64
initFunction · 0.64