From 1f7f2f8485b2b643726fafab27f26fbf74e25a53 Mon Sep 17 00:00:00 2001 From: Alexis Couvreur Date: Mon, 31 Oct 2022 13:27:20 +0000 Subject: [PATCH] fix(config): fix typo `NewLoggingLevel` to `NewLoggingConfig` --- config/logging.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/logging.go b/config/logging.go index 1fbe7c9..544c30d 100644 --- a/config/logging.go +++ b/config/logging.go @@ -6,7 +6,7 @@ type Logging struct { Level string `mapstructure:"LEVEL" yaml:"level" default:"info"` } -func NewLoggingLevel() Logging { +func NewLoggingConfig() Logging { return Logging{ Level: log.InfoLevel.String(), }