Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sirupsen/logrus
/ SetLevel
Function
SetLevel
exported.go:35–37 ·
view source on GitHub ↗
SetLevel sets the standard logger level.
(level Level)
Source
from the content-addressed store, hash-verified
33
34
// SetLevel sets the standard logger level.
35
func
SetLevel(level Level) {
36
std.SetLevel(level)
37
}
38
39
// GetLevel returns the standard logger level.
40
func
GetLevel() Level {
Callers
1
TestGetSetLevelRace
Function · 0.85
Calls
1
SetLevel
Method · 0.80
Tested by
1
TestGetSetLevelRace
Function · 0.68