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

Method Level

log/log.go:113–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (l *Logger) Level() Lvl {
114 return Lvl(atomic.LoadUint32(&l.level))
115}
116
117func (l *Logger) SetLevel(level Lvl) {
118 atomic.StoreUint32(&l.level, uint32(level))

Callers 2

logMethod · 0.95
LevelFunction · 0.80

Calls 1

LvlTypeAlias · 0.85

Tested by

no test coverage detected