diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-19 10:23:54 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-19 10:24:12 +0100 |
commit | 6eddb3e58743d17032d66d86614b9978a4ffa1e7 (patch) | |
tree | 974342379dd52b0c86a8170ca1b376b5ff0367ef | |
parent | 6e03c96a20c63072c3699148947eacc5be0ff5d0 (diff) |
Revert "helpers: Add a Debug method to DistinctLogger"
Not needed.
This reverts commit 4382a8a6a030520d9f094b3d7bb8f3ae3f08b187.
-rw-r--r-- | helpers/general.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/helpers/general.go b/helpers/general.go index e6435179c..f9e67e72d 100644 --- a/helpers/general.go +++ b/helpers/general.go @@ -213,13 +213,6 @@ type DistinctLogger struct { m map[string]bool } -// Debug prints all the log entries to standard output. -func (l *DistinctLogger) Debug() { - for k, _ := range l.m { - fmt.Println(k) - } -} - // Println will log the string returned from fmt.Sprintln given the arguments, // but not if it has been logged before. func (l *DistinctLogger) Println(v ...interface{}) { |