Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogMessage ¶
type TestLogger ¶
func New ¶
func New() *TestLogger
New returns a logger with an in memory buffer containing log messages for use in tests
func (*TestLogger) GetErrorMessages ¶
func (l *TestLogger) GetErrorMessages() ([]LogMessage, error)
func (*TestLogger) GetLogMessages ¶
func (l *TestLogger) GetLogMessages() ([]LogMessage, error)
func (*TestLogger) GetMessagesForLevel ¶
func (l *TestLogger) GetMessagesForLevel(level logger.Level) ([]LogMessage, error)
Click to show internal directories.
Click to hide internal directories.