Unified terminal initialization code handling

This commit is contained in:
Felix Kollmann
2018-04-03 04:55:52 +02:00
parent 9bc59a5969
commit 2f58bc83cb
4 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func (f *TextFormatter) init(entry *Entry) {
f.isTerminal = checkIfTerminal(entry.Logger.Out)
if f.isTerminal {
f.initTerminal(entry)
initTerminal(entry.Logger.Out)
}
}
}