diff --git a/examples/logger/main.go b/examples/logger/main.go index 8620e4c..1618e91 100644 --- a/examples/logger/main.go +++ b/examples/logger/main.go @@ -28,8 +28,6 @@ func (l errorLogger) Infof(format string, v ...interface{}) { func (l errorLogger) Debugf(format string, v ...interface{}) { } -func (l errorLogger) Tracef(format string, v ...interface{}) {} - func main() { mylogger := &errorLogger{} diff --git a/internal/logger/logger.go b/internal/logger/logger.go index 8c11b7d..5da321f 100644 --- a/internal/logger/logger.go +++ b/internal/logger/logger.go @@ -8,5 +8,4 @@ type Logger interface { Warnf(string, ...interface{}) Infof(string, ...interface{}) Debugf(string, ...interface{}) - Tracef(string, ...interface{}) } diff --git a/logger.go b/logger.go index 8ac5843..34ef793 100644 --- a/logger.go +++ b/logger.go @@ -39,6 +39,3 @@ func (l stdDebugLogger) Infof(format string, v ...interface{}) { func (l stdDebugLogger) Debugf(format string, v ...interface{}) { log.Printf(fmt.Sprintf("%s DEBUG: %s", loggingPrefix, format), v...) } - -// Tracef - -func (l stdDebugLogger) Tracef(format string, v ...interface{}) {}