diff options
author | Valery Piashchynski <[email protected]> | 2021-04-30 13:11:20 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-30 13:11:20 +0300 |
commit | c9770668debb203f121d8a5f08a3e3c19f4535ea (patch) | |
tree | 3fbbb23b0151a92bfe44ae4b6c2d1b5613c76dd9 /plugins/logger | |
parent | d0dccb0c761df45da7fba00340f1cd5c66c71711 (diff) | |
parent | 684864530618f4b82399e5f1a89d5967c6ca9bcb (diff) |
Merge branch 'master' into feature/list_of_plulgins
Diffstat (limited to 'plugins/logger')
-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 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, } } |