SWT Logging added

This commit is contained in:
MrGadget1024 2023-01-27 04:09:58 -05:00
parent 6030838d76
commit 31fd837058
2 changed files with 9 additions and 0 deletions

View File

@ -90,6 +90,8 @@ public void ProcessMessageQueue(MonoBehaviour behaviour)
break; break;
} }
} }
if (receiveQueue.Count > 0)
Debug.LogWarning($"SimpleWebClient ProcessMessageQueue has {receiveQueue.Count} remaining.");
} }
public abstract void Connect(Uri serverAddress); public abstract void Connect(Uri serverAddress);

View File

@ -114,6 +114,13 @@ public void ProcessMessageQueue(MonoBehaviour behaviour)
break; break;
} }
} }
if (server.receiveQueue.Count > 0)
{
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine($"SimpleWebServer ProcessMessageQueue has {server.receiveQueue.Count} remaining.");
Console.ResetColor();
}
} }
} }
} }