Example #1
0
 private void Debug(string context)
 {
     lock (_debugMutex)
     {
         var str = $"{(IsServer ? "[SERVER]" : "[CLIENT]")}";
         RUDPLog.Info($"{str} : {context}");
     }
 }
Example #2
0
 private void Debug(string context)
 {
     lock (_debugMutex)
     {
         //Console.ForegroundColor = IsServer ? ConsoleColor.Cyan : ConsoleColor.Green;
         var str = $"{(IsServer ? "[SERVER]" : "[CLIENT]")}";
         RUDPLog.Info($"{str} : {context}");
         //Console.ResetColor();
     }
 }