Export logger's set level function to address #503.

This commit is contained in:
Steve Jarvis
2017-07-07 16:29:37 -04:00
parent 59d0ca41e5
commit 20d755ea5e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.