diff --git a/Makefile b/Makefile index 517467f..f8c79c1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: test fmt vet lint staticcheck +all: test vet lint staticcheck test: go test ./... diff --git a/logger.go b/logger.go index ebefc1f..920afb6 100644 --- a/logger.go +++ b/logger.go @@ -19,8 +19,3 @@ type stdLogger struct{} func (l stdLogger) Printf(format string, v ...interface{}) { log.Printf(fmt.Sprintf("%s: %s", loggingPrefix, format), v...) } - -// noLogger does not log at all, this is the default. -type noLogger struct{} - -func (l noLogger) Printf(format string, v ...interface{}) {}