summaryrefslogtreecommitdiffhomepage
path: root/helpers/general.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/general.go')
-rw-r--r--helpers/general.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go
index 327aafdc6..ac2af4936 100644
--- a/helpers/general.go
+++ b/helpers/general.go
@@ -274,7 +274,9 @@ var (
// InitLoggers sets up the global distinct loggers.
func InitLoggers() {
- jww.ResetLogCounters()
+ DistinctErrorLog = NewDistinctErrorLogger()
+ DistinctWarnLog = NewDistinctWarnLogger()
+ DistinctFeedbackLog = NewDistinctFeedbackLogger()
}
// Deprecated informs about a deprecation, but only once for a given set of arguments' values.