slog update
This commit is contained in:
parent
4198576f52
commit
2ce41685ca
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
type LogErrorFunc func(format string, args ...interface{})
|
type LogErrorFunc func(format string, args ...interface{})
|
||||||
|
|
||||||
var logError = LogErrorFunc(slog.LOG_ERROR)
|
var logError = LogErrorFunc(slog.LOG_ERRORF)
|
||||||
|
|
||||||
func SetLogError(f LogErrorFunc) {
|
func SetLogError(f LogErrorFunc) {
|
||||||
logError = f
|
logError = f
|
||||||
|
|
Loading…
Reference in New Issue