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