2
0

discardLogger should be private

This commit is contained in:
Jack Christensen
2014-09-04 16:45:35 -05:00
parent 717ca04aa7
commit f5156ac4eb
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -12,12 +12,12 @@ type Logger interface {
Error(msg string, ctx ...interface{})
}
type DiscardLogger struct{}
type discardLogger struct{}
func (l *DiscardLogger) Debug(msg string, ctx ...interface{}) {}
func (l *DiscardLogger) Info(msg string, ctx ...interface{}) {}
func (l *DiscardLogger) Warn(msg string, ctx ...interface{}) {}
func (l *DiscardLogger) Error(msg string, ctx ...interface{}) {}
func (l *discardLogger) Debug(msg string, ctx ...interface{}) {}
func (l *discardLogger) Info(msg string, ctx ...interface{}) {}
func (l *discardLogger) Warn(msg string, ctx ...interface{}) {}
func (l *discardLogger) Error(msg string, ctx ...interface{}) {}
type connLogger struct {
logger Logger