Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(fmtString string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(fmtString string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(fmtString string, args ...interface{})
- func History() []string
- func Info(args ...interface{})
- func Infof(fmtString string, args ...interface{})
- func RedirectStdOutToStdErr()
- func SetDebug(debug bool)
- func SetOutput(out io.Writer)
- func Warn(args ...interface{})
- func Warnf(fmtString string, args ...interface{})
- type FmtMachineLogger
- func (ml *FmtMachineLogger) Debug(args ...interface{})
- func (ml *FmtMachineLogger) Debugf(fmtString string, args ...interface{})
- func (ml *FmtMachineLogger) Error(args ...interface{})
- func (ml *FmtMachineLogger) Errorf(fmtString string, args ...interface{})
- func (ml *FmtMachineLogger) Fatal(args ...interface{})
- func (ml *FmtMachineLogger) Fatalf(fmtString string, args ...interface{})
- func (ml *FmtMachineLogger) History() []string
- func (ml *FmtMachineLogger) Info(args ...interface{})
- func (ml *FmtMachineLogger) Infof(fmtString string, args ...interface{})
- func (ml *FmtMachineLogger) RedirectStdOutToStdErr()
- func (ml *FmtMachineLogger) SetDebug(debug bool)
- func (ml *FmtMachineLogger) SetOutput(out io.Writer)
- func (ml *FmtMachineLogger) Warn(args ...interface{})
- func (ml *FmtMachineLogger) Warnf(fmtString string, args ...interface{})
- type LogrusMachineLogger
- func (ml *LogrusMachineLogger) Debug(args ...interface{})
- func (ml *LogrusMachineLogger) Debugf(fmtString string, args ...interface{})
- func (ml *LogrusMachineLogger) Error(args ...interface{})
- func (ml *LogrusMachineLogger) Errorf(fmtString string, args ...interface{})
- func (ml *LogrusMachineLogger) Fatal(args ...interface{})
- func (ml *LogrusMachineLogger) Fatalf(fmtString string, args ...interface{})
- func (ml *LogrusMachineLogger) History() []string
- func (ml *LogrusMachineLogger) Info(args ...interface{})
- func (ml *LogrusMachineLogger) Infof(fmtString string, args ...interface{})
- func (ml *LogrusMachineLogger) Logger() *logrus.Logger
- func (ml *LogrusMachineLogger) RedirectStdOutToStdErr()
- func (ml *LogrusMachineLogger) SetDebug(debug bool)
- func (ml *LogrusMachineLogger) SetOutput(out io.Writer)
- func (ml *LogrusMachineLogger) Warn(args ...interface{})
- func (ml *LogrusMachineLogger) Warnf(fmtString string, args ...interface{})
- type MachineFormatter
- type MachineLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RedirectStdOutToStdErr ¶
func RedirectStdOutToStdErr()
RedirectStdOutToStdErr prevents any log from corrupting the output
Types ¶
type FmtMachineLogger ¶ added in v0.5.5
type FmtMachineLogger struct {
// contains filtered or unexported fields
}
func (*FmtMachineLogger) Debug ¶ added in v0.5.5
func (ml *FmtMachineLogger) Debug(args ...interface{})
func (*FmtMachineLogger) Debugf ¶ added in v0.5.5
func (ml *FmtMachineLogger) Debugf(fmtString string, args ...interface{})
func (*FmtMachineLogger) Error ¶ added in v0.5.5
func (ml *FmtMachineLogger) Error(args ...interface{})
func (*FmtMachineLogger) Errorf ¶ added in v0.5.5
func (ml *FmtMachineLogger) Errorf(fmtString string, args ...interface{})
func (*FmtMachineLogger) Fatal ¶ added in v0.5.5
func (ml *FmtMachineLogger) Fatal(args ...interface{})
func (*FmtMachineLogger) Fatalf ¶ added in v0.5.5
func (ml *FmtMachineLogger) Fatalf(fmtString string, args ...interface{})
func (*FmtMachineLogger) History ¶ added in v0.5.5
func (ml *FmtMachineLogger) History() []string
func (*FmtMachineLogger) Info ¶ added in v0.5.5
func (ml *FmtMachineLogger) Info(args ...interface{})
func (*FmtMachineLogger) Infof ¶ added in v0.5.5
func (ml *FmtMachineLogger) Infof(fmtString string, args ...interface{})
func (*FmtMachineLogger) RedirectStdOutToStdErr ¶
func (ml *FmtMachineLogger) RedirectStdOutToStdErr()
func (*FmtMachineLogger) SetDebug ¶ added in v0.5.5
func (ml *FmtMachineLogger) SetDebug(debug bool)
func (*FmtMachineLogger) SetOutput ¶
func (ml *FmtMachineLogger) SetOutput(out io.Writer)
func (*FmtMachineLogger) Warn ¶ added in v0.5.5
func (ml *FmtMachineLogger) Warn(args ...interface{})
func (*FmtMachineLogger) Warnf ¶ added in v0.5.5
func (ml *FmtMachineLogger) Warnf(fmtString string, args ...interface{})
type LogrusMachineLogger ¶
type LogrusMachineLogger struct {
// contains filtered or unexported fields
}
func (*LogrusMachineLogger) Debug ¶
func (ml *LogrusMachineLogger) Debug(args ...interface{})
func (*LogrusMachineLogger) Debugf ¶
func (ml *LogrusMachineLogger) Debugf(fmtString string, args ...interface{})
func (*LogrusMachineLogger) Error ¶
func (ml *LogrusMachineLogger) Error(args ...interface{})
func (*LogrusMachineLogger) Errorf ¶
func (ml *LogrusMachineLogger) Errorf(fmtString string, args ...interface{})
func (*LogrusMachineLogger) Fatal ¶
func (ml *LogrusMachineLogger) Fatal(args ...interface{})
func (*LogrusMachineLogger) Fatalf ¶
func (ml *LogrusMachineLogger) Fatalf(fmtString string, args ...interface{})
func (*LogrusMachineLogger) History ¶
func (ml *LogrusMachineLogger) History() []string
func (*LogrusMachineLogger) Info ¶
func (ml *LogrusMachineLogger) Info(args ...interface{})
func (*LogrusMachineLogger) Infof ¶
func (ml *LogrusMachineLogger) Infof(fmtString string, args ...interface{})
func (*LogrusMachineLogger) Logger ¶
func (ml *LogrusMachineLogger) Logger() *logrus.Logger
func (*LogrusMachineLogger) RedirectStdOutToStdErr ¶
func (ml *LogrusMachineLogger) RedirectStdOutToStdErr()
RedirectStdOutToStdErr prevents any log from corrupting the output
func (*LogrusMachineLogger) SetDebug ¶
func (ml *LogrusMachineLogger) SetDebug(debug bool)
func (*LogrusMachineLogger) SetOutput ¶
func (ml *LogrusMachineLogger) SetOutput(out io.Writer)
func (*LogrusMachineLogger) Warn ¶
func (ml *LogrusMachineLogger) Warn(args ...interface{})
func (*LogrusMachineLogger) Warnf ¶
func (ml *LogrusMachineLogger) Warnf(fmtString string, args ...interface{})
type MachineFormatter ¶
type MachineFormatter struct { }
type MachineLogger ¶ added in v0.5.5
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{}) History() []string }
var (
Logger MachineLogger
)
func NewFmtMachineLogger ¶ added in v0.5.5
func NewFmtMachineLogger() MachineLogger
NewFmtMachineLogger creates a MachineLogger implementation used by the drivers
func NewLogrusMachineLogger ¶
func NewLogrusMachineLogger() MachineLogger
NewLogrusMachineLogger creates the MachineLogger implementation used by the docker-machine
Click to show internal directories.
Click to hide internal directories.