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