Added support for text coloring on Windows 10
This commit is contained in:
@@ -67,6 +67,8 @@ type TextFormatter struct {
|
||||
func (f *TextFormatter) init(entry *Entry) {
|
||||
if entry.Logger != nil {
|
||||
f.isTerminal = checkIfTerminal(entry.Logger.Out)
|
||||
|
||||
f.initTerminal(entry)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user