srpc/configuration.go

14 lines
185 B
Go
Raw Normal View History

2020-02-19 01:36:18 +01:00
package srpc
import (
"log"
)
type LogErrorFunc func(format string, args ...interface{})
var logError = LogErrorFunc(log.Printf)
func SetLogError(f LogErrorFunc) {
logError = f
}