Merge branch 'upstream/main'

This commit is contained in:
Laisky.Cai
2025-02-09 03:49:59 +00:00
5 changed files with 19 additions and 2 deletions

View File

@@ -93,6 +93,9 @@ func Error(ctx context.Context, msg string) {
}
func Debugf(ctx context.Context, format string, a ...any) {
if !config.DebugEnabled {
return
}
logHelper(ctx, loggerDEBUG, fmt.Sprintf(format, a...))
}