e3.1.2 Changed output stdout to console for clarity.
This commit is contained in:
@ -430,9 +430,9 @@ func (l *Logger) applyConfig(cfg *Config) error {
|
||||
}
|
||||
|
||||
// Setup stdout writer based on config
|
||||
if cfg.EnableStdout {
|
||||
if cfg.EnableConsole {
|
||||
var writer io.Writer
|
||||
if cfg.StdoutTarget == "stderr" {
|
||||
if cfg.ConsoleTarget == "stderr" {
|
||||
writer = os.Stderr
|
||||
} else {
|
||||
writer = os.Stdout
|
||||
|
||||
Reference in New Issue
Block a user