Ejemplo n.º 1
0
 private static void Log(string msg, int level)
 {
     //debugView
     DebugView.LogDebugger(msg);
     //Debugger.Log(0, null, $"{DateTime.Now}:{msg}");
     if (Level <= level)
     {
         Console.WriteLine($"{DateTime.Now}:{msg}");
         if (action != default)
         {
             action.BeginInvoke(msg, null, null);
         }
     }
 }