forked from mirror/logrus
Merge pull request #574 from stevejarvis/master
Export logger's set level function to address #503.
This commit is contained in:
commit
c26a3edef1
|
@ -31,7 +31,7 @@ func SetFormatter(formatter Formatter) {
|
|||
func SetLevel(level Level) {
|
||||
std.mu.Lock()
|
||||
defer std.mu.Unlock()
|
||||
std.setLevel(level)
|
||||
std.SetLevel(level)
|
||||
}
|
||||
|
||||
// GetLevel returns the standard logger level.
|
||||
|
|
Loading…
Reference in New Issue