diff options
author | Valery Piashchynski <[email protected]> | 2021-04-29 21:37:10 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-29 21:37:10 +0300 |
commit | bca80067a2e37efc4cd578db1f4f36e016efc28b (patch) | |
tree | aded4b78977956dcf22f9352cb9ea3293542c09e /plugins | |
parent | 7297e5f2fad841466024f8622da3e14b7874f989 (diff) |
- Remove redundand logger implementation
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/logger/plugin.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/logger/plugin.go b/plugins/logger/plugin.go index e1066cba..9965b29c 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,6 +73,5 @@ func (z *ZapLogger) ServiceLogger(n endure.Named) (Logger, error) { func (z *ZapLogger) Provides() []interface{} { return []interface{}{ z.ServiceLogger, - z.DefaultLogger, } } |