Documentation
¶
Overview ¶
Package mocklogger defines a logger.Interface that stores a string representation of each logged event for testing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { Log []string // contains filtered or unexported fields }
Logger is a logger.Interface that stores a string representation of each logged event for testing
func (*Logger) Exit ¶
func (l *Logger) Exit()
Exit is called when the queue has finished and the logger should finalise
func (*Logger) Finished ¶
Finished is called each time a URL successfully finishes processing (even for non-200 results)
Click to show internal directories.
Click to hide internal directories.