Print empty line only if dev view is not enabled

This commit is contained in:
bytedream 2022-03-06 16:04:44 +01:00
parent a378c93d68
commit 600eaeeeca

View file

@ -79,7 +79,7 @@ func (l *logger) Exit(format string, v ...interface{}) {
}
func (l *logger) Empty() {
if l.InfoLog.Writer() != io.Discard {
if !l.devView && l.InfoLog.Writer() != io.Discard {
fmt.Println("")
}
}