lib/logger: initialize output to os.Stderr by default

This commit is contained in:
Aliaksandr Valialkin 2020-02-04 22:40:44 +02:00
parent cff0cb297c
commit 40c6ae2952

View file

@ -47,7 +47,7 @@ func setLoggerOutput() {
} }
} }
var output io.Writer var output io.Writer = os.Stderr
func validateLoggerLevel() { func validateLoggerLevel() {
switch *loggerLevel { switch *loggerLevel {