public static void log(string m, bool f, SR2DMessages r) { Console.WriteLine(m + " SR2DMessage: " + r.getName()); if (f) { } }
public static void error(Exception m, bool f, SR2DMessages r) { Console.WriteLine("ERROR : " + m.Message + " SR2DMessage: " + r.getName() + "StackTrace: "); Console.WriteLine(m.StackTrace); }