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 SetDebug(debug bool)
- func SetErrWriter(err io.Writer)
- func SetOutWriter(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) SetDebug(debug bool)
- func (ml *FmtMachineLogger) SetErrWriter(err io.Writer)
- func (ml *FmtMachineLogger) SetOutWriter(out io.Writer)
- func (ml *FmtMachineLogger) Warn(args ...interface{})
- func (ml *FmtMachineLogger) Warnf(fmtString string, args ...interface{})
- type HistoryRecorder
- type MachineLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetErrWriter ¶
func SetOutWriter ¶
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) SetDebug ¶ added in v0.5.5
func (ml *FmtMachineLogger) SetDebug(debug bool)
func (*FmtMachineLogger) SetErrWriter ¶ added in v0.5.5
func (ml *FmtMachineLogger) SetErrWriter(err io.Writer)
func (*FmtMachineLogger) SetOutWriter ¶ added in v0.5.5
func (ml *FmtMachineLogger) SetOutWriter(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 HistoryRecorder ¶ added in v0.5.5
type HistoryRecorder struct {
// contains filtered or unexported fields
}
func NewHistoryRecorder ¶ added in v0.5.5
func NewHistoryRecorder() *HistoryRecorder
func (*HistoryRecorder) History ¶ added in v0.5.5
func (ml *HistoryRecorder) History() []string
func (*HistoryRecorder) Record ¶ added in v0.5.5
func (ml *HistoryRecorder) Record(args ...interface{})
func (*HistoryRecorder) Recordf ¶ added in v0.5.5
func (ml *HistoryRecorder) Recordf(fmtString string, args ...interface{})
type MachineLogger ¶ added in v0.5.5
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 }
func NewFmtMachineLogger ¶ added in v0.5.5
func NewFmtMachineLogger() MachineLogger
NewFmtMachineLogger creates a MachineLogger implementation used by the drivers
Click to show internal directories.
Click to hide internal directories.