Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockedLogger ¶
MockedLogger is a mocked logger
func (*MockedLogger) Debugf ¶
func (l *MockedLogger) Debugf(format string, args ...interface{})
Debugf debug format
func (*MockedLogger) Errorf ¶
func (l *MockedLogger) Errorf(format string, args ...interface{})
Errorf error format
func (*MockedLogger) Infof ¶
func (l *MockedLogger) Infof(format string, args ...interface{})
Infof info format
func (*MockedLogger) Warnf ¶
func (l *MockedLogger) Warnf(format string, args ...interface{})
Warnf warning format
type TestLogger ¶
type TestLogger struct {
F func(format string, args ...interface{})
}
TestLogger a logger that logs to a generic format function, used with testing.T.Logf
func (*TestLogger) Debugf ¶
func (l *TestLogger) Debugf(format string, args ...interface{})
Debugf debug format
func (*TestLogger) Errorf ¶
func (l *TestLogger) Errorf(format string, args ...interface{})
Errorf error format
func (*TestLogger) Infof ¶
func (l *TestLogger) Infof(format string, args ...interface{})
Infof info format
func (*TestLogger) Warnf ¶
func (l *TestLogger) Warnf(format string, args ...interface{})
Warnf warning format
Click to show internal directories.
Click to hide internal directories.