mirror of https://github.com/docker/docs.git
28 lines
529 B
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
|
|
}
|