refactor(logging): 统一使用自定义Loger替代g.Log()日志记录
This commit is contained in:
@@ -81,5 +81,5 @@ func init() {
|
||||
if jwtSecret == "cool-admin-go" {
|
||||
Config.Jwt.Secret = cool.ProcessFlag
|
||||
}
|
||||
g.Log().Info(ctx, "jwt secret:", Config.Jwt.Secret)
|
||||
cool.Loger.Info(ctx, "jwt secret:", Config.Jwt.Secret)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user