aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers/general.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-04-04 11:02:12 +0200
committerBjørn Erik Pedersen <[email protected]>2017-04-04 15:12:30 +0200
commit04d80e6e8725dd9d1ee76d7615ae312f995cd7bc (patch)
tree0793ca8c9ea42f914a5aa79209af4794bf8f7c3a /helpers/general.go
parent0802f79e666c7221e8b5580c9ccfbfb538a20b95 (diff)
downloadhugo-04d80e6e8725dd9d1ee76d7615ae312f995cd7bc.tar.gz
hugo-04d80e6e8725dd9d1ee76d7615ae312f995cd7bc.zip
commands, helpers: Add correct verbose log level to the global loggers
We still use those in some cases.
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.