Exemple #1
0
 internal static void Log(string message, [CallerMemberName] string memberName = "")
 {
     if (PureEngineIoSocket.Debug)
     {
         OutputConsole.WriteLine(memberName + " " + message, ConsoleColor.Blue);
     }
 }
Exemple #2
0
 internal static void Log(Exception ex, [CallerMemberName] string memberName = "")
 {
     if (PureEngineIoSocket.Debug)
     {
         OutputConsole.WriteLine(memberName + " " + ex.Message, ConsoleColor.Red);
     }
 }