mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 02:16:23 -05:00
Merge pull request #1002 from gucio321/hotfix3
fixed bug with terminal's logLevel
This commit is contained in:
commit
8a7514cd1a
@ -33,7 +33,7 @@ func (tl *terminalLogger) Write(p []byte) (int, error) {
|
|||||||
case strings.Index(lineLower, "error") > 0:
|
case strings.Index(lineLower, "error") > 0:
|
||||||
tl.terminal.Errorf(line)
|
tl.terminal.Errorf(line)
|
||||||
case strings.Index(lineLower, "warning") > 0:
|
case strings.Index(lineLower, "warning") > 0:
|
||||||
tl.terminal.Errorf(line)
|
tl.terminal.Warningf(line)
|
||||||
default:
|
default:
|
||||||
tl.terminal.Printf(line)
|
tl.terminal.Printf(line)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user