Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(fmtString string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(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) 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 ¶
type FmtMachineLogger struct {
// contains filtered or unexported fields
}
func (*FmtMachineLogger) Debug ¶
func (ml *FmtMachineLogger) Debug(args ...interface{})
func (*FmtMachineLogger) Debugf ¶
func (ml *FmtMachineLogger) Debugf(fmtString string, args ...interface{})
func (*FmtMachineLogger) Error ¶
func (ml *FmtMachineLogger) Error(args ...interface{})
func (*FmtMachineLogger) Errorf ¶
func (ml *FmtMachineLogger) Errorf(fmtString string, args ...interface{})
func (*FmtMachineLogger) History ¶
func (ml *FmtMachineLogger) History() []string
func (*FmtMachineLogger) Info ¶
func (ml *FmtMachineLogger) Info(args ...interface{})
func (*FmtMachineLogger) Infof ¶
func (ml *FmtMachineLogger) Infof(fmtString string, args ...interface{})
func (*FmtMachineLogger) SetDebug ¶
func (ml *FmtMachineLogger) SetDebug(debug bool)
func (*FmtMachineLogger) SetErrWriter ¶
func (ml *FmtMachineLogger) SetErrWriter(err io.Writer)
func (*FmtMachineLogger) SetOutWriter ¶
func (ml *FmtMachineLogger) SetOutWriter(out io.Writer)
func (*FmtMachineLogger) Warn ¶
func (ml *FmtMachineLogger) Warn(args ...interface{})
func (*FmtMachineLogger) Warnf ¶
func (ml *FmtMachineLogger) Warnf(fmtString string, args ...interface{})
type HistoryRecorder ¶
type HistoryRecorder struct {
// contains filtered or unexported fields
}
func NewHistoryRecorder ¶
func NewHistoryRecorder() *HistoryRecorder
func (*HistoryRecorder) History ¶
func (ml *HistoryRecorder) History() []string
func (*HistoryRecorder) Record ¶
func (ml *HistoryRecorder) Record(args ...interface{})
func (*HistoryRecorder) Recordf ¶
func (ml *HistoryRecorder) Recordf(fmtString string, args ...interface{})
type MachineLogger ¶
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{}) Warn(args ...interface{}) Warnf(fmtString string, args ...interface{}) History() []string }
func NewFmtMachineLogger ¶
func NewFmtMachineLogger() MachineLogger
NewFmtMachineLogger creates a MachineLogger implementation used by the drivers
Click to show internal directories.
Click to hide internal directories.