public static void DebugWrite()
 {
     DebugWriteEvent?.Invoke("", null);
 }
 public static void DebugWrite(string module, string format, params object[] arg)
 {
     DebugWriteEvent?.Invoke("DEBUG (" + module + "): " + format, arg);
 }