log: fix typo in Fatalf func

fixed for x1b[31m[FATA] output
This commit is contained in:
Oleg Ginzburg 2019-05-17 13:24:05 +03:00
parent e8801fd45a
commit 80b2d4c5a8
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func Print(format string, args ...interface{}) {
// Fatalf ... // Fatalf ...
func Fatalf(format string, args ...interface{}) { func Fatalf(format string, args ...interface{}) {
log(1, "FATA", "x1b[31m", true, format, args...) log(1, "FATA", "\x1b[31m", true, format, args...)
os.Exit(1) os.Exit(1)
} }