diff options
Diffstat (limited to 'plugins/logger')
-rw-r--r-- | plugins/logger/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/logger/config.go b/plugins/logger/config.go index ba0530d2..9248eb3a 100644 --- a/plugins/logger/config.go +++ b/plugins/logger/config.go @@ -87,5 +87,7 @@ func (cfg *Config) BuildLogger() (*zap.Logger, error) { zCfg.ErrorOutputPaths = cfg.ErrorOutput } + // todo: https://github.com/uber-go/zap/blob/master/FAQ.md#does-zap-support-log-rotation + return zCfg.Build() } |