mirror of https://github.com/tidwall/tile38.git
log: fix typo in Fatalf func
fixed for x1b[31m[FATA] output
This commit is contained in:
parent
e8801fd45a
commit
80b2d4c5a8
|
@ -145,7 +145,7 @@ func Print(format string, args ...interface{}) {
|
|||
|
||||
// Fatalf ...
|
||||
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue