diff --git a/zap/logger.go b/zap/logger.go index fa5febe..9a171c6 100644 --- a/zap/logger.go +++ b/zap/logger.go @@ -24,7 +24,7 @@ func replaceGlobalLogger(newOne *zap.Logger) { func Init( verbose bool, - formatter *zapcore.Encoder, + formatter zapcore.Encoder, mainLogName, logFilename, logDir string, maxSizeMb, maxBackup, maxDay int, logLevel zapcore.Level, @@ -53,7 +53,7 @@ func New(parent *zap.SugaredLogger, moduleName string) *zap.SugaredLogger { } func NewOtherLogger( - formatter *zapcore.Encoder, + formatter zapcore.Encoder, moduleName, logFilename, logDir string, maxSizeMb, maxBackup, maxDay int, logLevel zapcore.Level,