feat: add special user usable group setting

This commit is contained in:
CaIon committed 2025-10-28 23:25:43 +08:00
1 parent a25c11df2a
commit 6aec088693
22 files changed
+521 -142

No files matched your search

+2 -1
View File
@@ -66,7 +66,8 @@ func LogError(ctx context.Context, msg string) {
logHelper(ctx, loggerError, msg)
}
func LogDebug(ctx context.Context, msg string) {
func LogDebug(ctx context.Context, msg string, args ...any) {
msg = fmt.Sprintf(msg, args...)
if common.DebugEnabled {
logHelper(ctx, loggerDebug, msg)
}