docs/libmachine/log/machine_logger.go

28 lines
529 B
Go

package log
import "io"
type MachineLogger interface {
SetDebug(debug bool)
SetOutWriter(io.Writer)
SetErrWriter(io.Writer)
Debug(args ...interface{})
Debugf(fmtString string, args ...interface{})
Error(args ...interface{})
Errorf(fmtString string, args ...interface{})
Info(args ...interface{})
Infof(fmtString string, args ...interface{})
Fatal(args ...interface{})
Fatalf(fmtString string, args ...interface{})
Warn(args ...interface{})
Warnf(fmtString string, args ...interface{})
History() []string
}