diff options
author | Valery Piashchynski <[email protected]> | 2021-04-29 21:37:10 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-29 22:45:19 +0300 |
commit | a0c6d96d0d767a6fb77c0a5cce7dc9c312ab89c7 (patch) | |
tree | 5501c1a0e5af13c8e15514de41638c0f38a5b1d1 | |
parent | 92d089e0ecedaa1ccdf9e2700b9cb2b61f307b1d (diff) |
- Remove redundand logger implementation
Signed-off-by: Valery Piashchynski <[email protected]>
-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, } } |