MCPcopy Create free account
hub / github.com/labstack/gommon / SetLevel

Method SetLevel

log/log.go:117–119  ·  view source on GitHub ↗
(level Lvl)

Source from the content-addressed store, hash-verified

115}
116
117func (l *Logger) SetLevel(level Lvl) {
118 atomic.StoreUint32(&l.level, uint32(level))
119}
120
121func (l *Logger) Output() io.Writer {
122 return l.output

Callers 6

testFunction · 0.80
TestJSONFunction · 0.80
TestStringWithQuotesFunction · 0.80
TestEmptyHeaderFunction · 0.80
TestCallerFileFunction · 0.80
SetLevelFunction · 0.80

Calls

no outgoing calls

Tested by 5

testFunction · 0.64
TestJSONFunction · 0.64
TestStringWithQuotesFunction · 0.64
TestEmptyHeaderFunction · 0.64
TestCallerFileFunction · 0.64