Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
113
func
(l *Logger) Level() Lvl {
114
return
Lvl(atomic.LoadUint32(&l.level))
115
}
116
117
func
(l *Logger) SetLevel(level Lvl) {
118
atomic.StoreUint32(&l.level, uint32(level))
Callers
2
log
Method · 0.95
Level
Function · 0.80
Calls
1
Lvl
TypeAlias · 0.85
Tested by
no test coverage detected