CaptureLogger is a logger that stores all the print and debug messages it sees, useful for testing.
NewCaptureLogger yields a CaptureLogger.
Debugf formats a message and appends it to Debugs.
Printf formats a message and appends it to Prints.
Logger represents an interface for a shared logger.
NopLogger represents a Logger that doesn't do anything.