Skip to content

Commit ccc134a

Browse files
committed
disable log highlight
1 parent 87028ff commit ccc134a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql/util.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"strings"
1111

1212
"github.com/juju/errors"
13+
"github.com/ngaut/log"
1314
"github.com/siddontang/go/hack"
1415
)
1516

@@ -351,4 +352,7 @@ func init() {
351352
EncodeMap[byte(i)] = to
352353
}
353354
}
355+
356+
// Disable highlight by default
357+
log.SetHighlighting(false)
354358
}

0 commit comments

Comments
 (0)