Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyLogger ¶
type DummyLogger struct {
// contains filtered or unexported fields
}
DummyLogger is a dummy implementation of Logger that simply records the messages logged to it.
func NewDummyLogger ¶
func NewDummyLogger() *DummyLogger
NewDummyLogger creates a new, empty DummyLogger.
func (*DummyLogger) AssertLogged ¶
func (d *DummyLogger) AssertLogged(t test.T, format string, v ...interface{})
AssertLogged asserts that the message specified was logged to the DummyLogger.
func (*DummyLogger) Printf ¶
func (d *DummyLogger) Printf(format string, v ...interface{})
Printf records a message into the DummyLogger.