签入脚本

This commit is contained in:
小蚂蚁云
2026-10-20 11:37:25 +08:00
commit 7f5e8470af
909 changed files with 4045080 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package middleware
import (
"context"
"github.com/gogf/gf/v2/frame/g"
)
// ============================== 日志工具 ==============================
// glogWarn 中间件统一告警输出
// 以警告级别记录中间件运行时的异常或降级信息
func glogWarn(ctx context.Context, format string, args ...any) {
g.Log().Warningf(ctx, format, args...)
}