diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 14:24:04 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-09 14:24:04 +0300 |
commit | 8fdf05d4f360a9f6344141b273eab9d6859470e0 (patch) | |
tree | e4fc512aae21136d897832591cf25ccbb176e9af /plugins/logger/zap_adapter.go | |
parent | a723cedba199a1c50dca05630b53139ee456ace8 (diff) | |
parent | 05e7925fbecb3e9f41f1a07fa459046ad0b16fc7 (diff) |
#714 feat(logger): file logger with log rotation support
#714 feat(logger): file logger with log rotation support
Diffstat (limited to 'plugins/logger/zap_adapter.go')
-rw-r--r-- | plugins/logger/zap_adapter.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/logger/zap_adapter.go b/plugins/logger/zap_adapter.go index 6d865519..fab59844 100644 --- a/plugins/logger/zap_adapter.go +++ b/plugins/logger/zap_adapter.go @@ -10,7 +10,7 @@ type ZapAdapter struct { zl *zap.Logger } -// Create NewZapAdapter which uses general log interface +// NewZapAdapter ... which uses general log interface func NewZapAdapter(zapLogger *zap.Logger) *ZapAdapter { return &ZapAdapter{ zl: zapLogger.WithOptions(zap.AddCallerSkip(1)), |