package log import ( "github.com/anchore/go-logger" ) type nopLogger struct{} func (l *nopLogger) Errorf(format string, args ...interface{}) {} func (l *nopLogger) Error(args ...interface{}) {} func (l *nopLogger) Warnf(format string, args ...interface{}) {} func (l *nopLogger) Warn(args ...interface{}) {} func (l *nopLogger) Infof(format string, args ...interface{}) {} func (l *nopLogger) Info(args ...interface{}) {} func (l *nopLogger) Debugf(format string, args ...interface{}) {} func (l *nopLogger) Debug(args ...interface{}) {} func (l *nopLogger) WithFields(fields ...interface{}) logger.MessageLogger { return l } func (l *nopLogger) Nested(fields ...interface{}) logger.Logger { return l }