public static void Log(params Exception[] exception) { var ri = new ExceptionReportInfo(); ri.SetExceptions(exception); var rg = new ExceptionReportGenerator(ri); Log(rg.CreateExceptionReport()); }