Browse Source

Merge pull request #64 from wagslane/lw_unused

unused
pull/68/head
Lane Wagner 4 years ago
committed by GitHub
parent
commit
cfc85760f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions
  1. +1
    -1
      Makefile
  2. +0
    -5
      logger.go

+ 1
- 1
Makefile View File

@ -1,4 +1,4 @@
all: test fmt vet lint staticcheck
all: test vet lint staticcheck
test:
go test ./...


+ 0
- 5
logger.go View File

@ -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{}) {}

Loading…
Cancel
Save