debug log statements

This commit is contained in:
Aaro Varis
2025-03-23 00:22:16 +02:00
parent 21e44cc4c7
commit 143505f762
2 changed files with 2 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ namespace BoneSync.Data
internal static void Debug(string v) internal static void Debug(string v)
{ {
#if DEBUG #if DEBUG
Msg(v, ConsoleColor.Gray, 2); Msg($"[DEBUG] {v}", ConsoleColor.Gray, 2);
#endif #endif
} }
} }

View File

@@ -146,6 +146,7 @@ namespace BoneSync.Sync.Components
if (Registered && !isOwner) if (Registered && !isOwner)
{ {
_simpleEventQueue.Clear(); _simpleEventQueue.Clear();
SyncLogger.Debug("Clearing simple event queue for " + _syncId);
return; return;
} }
if (_simpleEventQueue.Count > 0 && Registered && isOwner) if (_simpleEventQueue.Count > 0 && Registered && isOwner)