From aee56aef037cc5c677215ed6d349960c1bb585d1 Mon Sep 17 00:00:00 2001 From: wagslane Date: Thu, 10 Mar 2022 19:36:06 -0700 Subject: [PATCH] unused --- Makefile | 2 +- logger.go | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) 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{}) {}