Merge 32118f0c4423f929d7538157d9370a5f4a065f18 into b1885a643b4977c9089d77eb07c0fd96591f94b8
This commit is contained in:
commit
d2bb51374a
@ -18,6 +18,11 @@ var (
|
|||||||
numericPlaceHolderRegexp = regexp.MustCompile(`\$\d+`)
|
numericPlaceHolderRegexp = regexp.MustCompile(`\$\d+`)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// SetDefaultLogger replaces the default Logger instance.
|
||||||
|
func SetDefaultLogger(l Logger) {
|
||||||
|
defaultLogger = l
|
||||||
|
}
|
||||||
|
|
||||||
func isPrintable(s string) bool {
|
func isPrintable(s string) bool {
|
||||||
for _, r := range s {
|
for _, r := range s {
|
||||||
if !unicode.IsPrint(r) {
|
if !unicode.IsPrint(r) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user