잘못 지정된 포인터 타입 수정
This commit is contained in:
parent
0d92295142
commit
69167604aa
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue