public static void Log(Exception ex) { Acceleratio.SPDG.Generator.Log.Write("ERROR OCCURED: " + ex.Message+Environment.NewLine+ex.StackTrace); }