Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStandardLogger ¶
func NewVerboseLogger ¶
Types ¶
type CaptureLogger ¶ added in v1.3.0
CaptureLogger is a logger that stores all the print and debug messages it sees, useful for testing.
func NewCaptureLogger ¶ added in v1.3.0
func NewCaptureLogger() *CaptureLogger
NewCaptureLogger yields a CaptureLogger.
func (*CaptureLogger) Debugf ¶ added in v1.3.0
func (cl *CaptureLogger) Debugf(format string, v ...interface{})
Debugf formats a message and appends it to Debugs.
func (*CaptureLogger) Printf ¶ added in v1.3.0
func (cl *CaptureLogger) Printf(format string, v ...interface{})
Printf formats a message and appends it to Prints.
Click to show internal directories.
Click to hide internal directories.