k3s/vendor/github.com/rancher/lasso/pkg/log/log.go
Brad Davidson 54a7c860c7 Update kine for etcd v3.5 compat
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00

14 lines
262 B
Go

package log
import "log"
var (
// Stupid log abstraction
Infof = func(message string, obj ...interface{}) {
log.Printf("INFO: "+message+"\n", obj...)
}
Errorf = func(message string, obj ...interface{}) {
log.Printf("ERROR: "+message+"\n", obj...)
}
)