Example #1
0
        private static void ProcessLog(string queriesPath, string logPath, string logName)
        {
            var parser = new LogParser();

            parser.Load(Path.Combine(logPath, logName));
            parser.Validate();
            var dict = new QueriesDict();

            dict.Load(queriesPath);
            parser.Classify(dict);
            var ext      = Path.GetExtension(logName);
            var pureName = Path.GetFileNameWithoutExtension(logName);
            var resName  = pureName + "_decode" + ext;

            parser.Dump(Path.Combine(logPath, resName));
            //Console.ReadLine();
        }