private void RunAnalyer()
        {
            string name = Path.GetFileName(_fileName);

            Text                 = String.Format("Indihiang - {0}", name);
            _parser.FileName     = _fileName;
            _parser.UseExistData = false;
            _parser.LogParserId  = Guid.NewGuid();
            _parser.UseParallel  = true;
            _parser.Analyze();
        }
Exemple #2
0
        private void AttachLogParser(string fileNames, Guid id)
        {
            LogParser parser = new LogParser {
                FileName     = fileNames,
                UseExistData = false,
                UseParallel  = true,
                LogParserId  = id
            };

            parser.AnalyzeLogHandler += OnAnalyzeLog;
            parser.EndAnalyzeHandler += OnEndAnalyze;

            parser.Analyze();
            _listParser.Add(id.ToString(), parser);
        }
Exemple #3
0
        private void AttachIISRemoteLogParser(string name, IISInfo info, Guid id)
        {
            LogParser parser = new LogParser(info)
            {
                FileName     = name,
                UseExistData = false,
                UseParallel  = true,
                LogParserId  = id
            };

            parser.AnalyzeLogHandler += OnAnalyzeLog;
            parser.EndAnalyzeHandler += OnEndAnalyze;

            parser.Analyze();
            _listParser.Add(id.ToString(), parser);
        }