diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 13:32:34 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-09 13:32:34 +0300 |
commit | 3ec3306730455b6c5c423d130ebc322757661487 (patch) | |
tree | 1acfe544effb563a06e133a13be1faac6b3fddbb /plugins/logger/zap_adapter.go | |
parent | a723cedba199a1c50dca05630b53139ee456ace8 (diff) |
- Add support for the file logger with log rotation and compression
Signed-off-by: Valery Piashchynski <[email protected]>
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)), |