MCPcopy
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.
35func SetLevel(level Level) {
36 std.SetLevel(level)
37}
38
39// GetLevel returns the standard logger level.
40func GetLevel() Level {

Callers 1

TestGetSetLevelRaceFunction · 0.85

Calls 1

SetLevelMethod · 0.80

Tested by 1

TestGetSetLevelRaceFunction · 0.68