diff options
-rw-r--r-- | CHANGELOG.md | 7 | ||||
-rw-r--r-- | plugins/logger/plugin.go | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ca0758b1..57d17096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,13 @@ v2.2.0 (11.05.2021) - 🐛 Fix: issue with wrong ordered middlewares (reverse). Now the order is correct. +v2.1.1 (29.04.2021) +------------------- + +## 🩹 Fixes: + +- 🐛 Fix: issue with endure provided wrong logger interface implementation. + v2.1.0 (27.04.2021) ------------------- diff --git a/plugins/logger/plugin.go b/plugins/logger/plugin.go index 86275a85..1084cc5e 100644 --- a/plugins/logger/plugin.go +++ b/plugins/logger/plugin.go @@ -51,11 +51,6 @@ func (z *ZapLogger) Init(cfg config.Configurer) error { return nil } -// DefaultLogger returns default logger. -func (z *ZapLogger) DefaultLogger() (Logger, error) { - return NewZapAdapter(z.base), nil -} - // NamedLogger returns logger dedicated to the specific channel. Similar to Named() but also reads the core params. func (z *ZapLogger) NamedLogger(name string) (Logger, error) { if cfg, ok := z.channels.Channels[name]; ok { @@ -78,7 +73,6 @@ func (z *ZapLogger) ServiceLogger(n endure.Named) (Logger, error) { func (z *ZapLogger) Provides() []interface{} { return []interface{}{ z.ServiceLogger, - z.DefaultLogger, } } |