diff --git a/wrapper/http_gin.go b/wrapper/http_gin.go index cbcc0fa..0fbfdb6 100644 --- a/wrapper/http_gin.go +++ b/wrapper/http_gin.go @@ -19,7 +19,7 @@ import ( // Author : go_developer@163.com<白茶清欢> // // Date : 3:45 下午 2021/1/3 -func NewGinLogger(loggerLevel zapcore.Level, consoleOutput bool, encoder zapcore.Encoder, splitConfig *logger.RotateLogConfig, extractFieldList []string, skip int) (*Gin, error) { +func NewGinLogger(loggerLevel string, consoleOutput bool, encoder zapcore.Encoder, splitConfig *logger.RotateLogConfig, extractFieldList []string, skip int) (*Gin, error) { var ( err error l *zap.Logger