public static void TimerProfiles_OnCommand(CommandEventArgs e) { try { using (StreamWriter sw = new StreamWriter("timerprofiles.log", true)) { TimerProfiles.DumpInfo(sw); } } catch { } }
public static void TimerProfiles_OnCommand(CommandEventArgs e) { try { using (StreamWriter sw = new StreamWriter(Path.Combine(Core.Config.LogDirectory, "timerprofiles.log"), true)) { TimerProfiles.DumpInfo(sw); } } catch { } }