mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 01:24:57 -04:00
Revert "helpers: Add a Debug method to DistinctLogger"
Not needed. This reverts commit 4382a8a6a030520d9f094b3d7bb8f3ae3f08b187.
This commit is contained in:
parent
6e03c96a20
commit
6eddb3e587
@ -213,13 +213,6 @@ type DistinctLogger struct {
|
|||||||
m map[string]bool
|
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,
|
// Println will log the string returned from fmt.Sprintln given the arguments,
|
||||||
// but not if it has been logged before.
|
// but not if it has been logged before.
|
||||||
func (l *DistinctLogger) Println(v ...interface{}) {
|
func (l *DistinctLogger) Println(v ...interface{}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user