1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00
Files
docs/libmachine/log/machine_logger.go
Jean-Laurent de Morlhon 4792177b11 Logrus Machine Logger
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
2015-12-07 18:36:48 +01:00

29 lines
530 B
Go

package log
import "io"
type MachineLogger interface {
RedirectStdOutToStdErr()
SetDebug(debug bool)
SetOutput(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{})
Logger() interface{}
}