public DirectoryScanner() { InitializeComponent(); DebugLogging.CreateDebugLogger(); string confignName = "configuration.xml"; _config.Save(confignName); //This needs to be delcared here right now. The load cannot occur unless this gets saved on startup. _config = Configuration.LoadFromFile(confignName); //TODO: --3-- try to get config file and other things into their own dll i can use ConfigCheck(); }
}//Sorts the List /// <summary> /// Performs data logging to the debuglogging file /// </summary> /// <param name="log"></param> private void Log(string log) { DebugLogging.LogActivity(log); }
}//Opens file path upon browse button click private void Log(string log) { DebugLogging.LogActivity(log); tsslStatus.Text = $"{DateTime.Now:yyyymmdd-HHMMss} {log}"; }