public string GetFolder() { //获取配置 string folder = XMLUtil.GetInnerText("/LogAnalyzerConfig/Folder", configPath); return(folder); }
public string GetLogPaths() { //获取配置 string path = XMLUtil.GetInnerText("/LogAnalyzerConfig/LogPath", configPath); //return string.IsNullOrWhiteSpace(path) ? // //默认配置 // System.AppDomain.CurrentDomain.BaseDirectory + "\\Log\\" : path; return(path); }