summaryrefslogtreecommitdiff
path: root/plugins/logger/zap_logger.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/logger/zap_logger.go')
-rw-r--r--plugins/logger/zap_logger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/logger/zap_logger.go b/plugins/logger/zap_logger.go
index 8c1739f2..a22cdb22 100644
--- a/plugins/logger/zap_logger.go
+++ b/plugins/logger/zap_logger.go
@@ -25,7 +25,7 @@ type ZapLogger struct {
}
// Init logger service.
-func (z *ZapLogger) Init(cfg config.Provider) (err error) {
+func (z *ZapLogger) Init(cfg config.Configurer) (err error) {
err = cfg.UnmarshalKey(ServiceName, &z.cfg)
if err != nil {
return err