summaryrefslogtreecommitdiff
path: root/plugins/logger
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-10-28 14:56:12 +0300
committerWolfy-J <[email protected]>2020-10-28 14:56:12 +0300
commit42cb82dbca79fcb47633b203d2d4ea9b0a59a176 (patch)
tree2d4fea5961fbb4c7c8d4bb2af03f525f48db6cf5 /plugins/logger
parent3e2b12f2e9218d6251f6e87dc20527a9c11853e7 (diff)
- go fmt
Diffstat (limited to 'plugins/logger')
-rw-r--r--plugins/logger/config.go2
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()
}