Пример #1
0
        public string GetFolder()
        {
            //获取配置
            string folder = XMLUtil.GetInnerText("/LogAnalyzerConfig/Folder", configPath);

            return(folder);
        }
Пример #2
0
        public string GetLogPaths()
        {
            //获取配置
            string path = XMLUtil.GetInnerText("/LogAnalyzerConfig/LogPath", configPath);

            //return string.IsNullOrWhiteSpace(path) ?
            //       //默认配置
            //       System.AppDomain.CurrentDomain.BaseDirectory + "\\Log\\" : path;

            return(path);
        }