1 package proxy 2 3 type logger interface { 4 Printf(format string, args ...interface{}) 5 } 6 7 type noopLogger struct{} 8 9 func (l *noopLogger) Printf(_ string, _ ...interface{}) { 10 // Do nothing :) 11 } 12
View as plain text