MCPcopy Create free account
hub / github.com/CPChain/chain / SetLevel

Method SetLevel

commons/log/logger.go:103–105  ·  view source on GitHub ↗

SetLevel sets the logger level.

(level logrus.Level)

Source from the content-addressed store, hash-verified

101
102// SetLevel sets the logger level.
103func (logger *Logger) SetLevel(level logrus.Level) {
104 logger.Logger.SetLevel(level)
105}
106
107// GetLevel returns the logger level.
108func (logger *Logger) GetLevel() logrus.Level {

Callers 3

initFunction · 0.80
updateLogConfigFunction · 0.80
SetLevelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected