private static string HostLocation() { string programData = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData); string myDataPath = Path.Combine(programData, Path.Combine(@"DirectProject\auditors", AuditorSettings.ConfigFile)); EventLogHelper.WriteInformation("Health.Direct.Audit", myDataPath); return(myDataPath); }
internal static void WriteEventLog(string message) { EventLogHelper.WriteInformation(EventLogSourceName, message); }
private static Type LoadType(string typeName) { EventLogHelper.WriteInformation("Health.Direct", "Load Type:: " + typeName); return(System.Type.GetType(typeName, true)); }