update gin log
This commit is contained in:
parent
f0e03d6910
commit
73d6ae7460
@ -19,7 +19,7 @@ import (
|
|||||||
// Author : go_developer@163.com<白茶清欢>
|
// Author : go_developer@163.com<白茶清欢>
|
||||||
//
|
//
|
||||||
// Date : 3:45 下午 2021/1/3
|
// 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 (
|
var (
|
||||||
err error
|
err error
|
||||||
l *zap.Logger
|
l *zap.Logger
|
||||||
|
Loading…
Reference in New Issue
Block a user