mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
54a7c860c7
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
14 lines
262 B
Go
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...)
|
|
}
|
|
)
|