From 73d6ae7460d2e6d85111a1d9024d81830b1cc2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Mon, 24 Jun 2024 18:38:54 +0800 Subject: [PATCH] update gin log --- wrapper/http_gin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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