Exemple #1
0
        static void Main(string[] args)
        {
            if (args.Length > 0)
            {
                switch (args[0])
                {
                case "-i":
                    InstanceAnalyzer.analyzeAllInstances("Instances.xlsx");
                    return;

                case "-l":
                    LogAnalyzer.analyzeAllLogs(args.Skip(1).ToArray());
                    return;
                }
            }

            LogAnalyzer.analyzeAllLogs(LogAnalyzer.DefaultLogPath);
        }
Exemple #2
0
        static void Main(string[] args)
        {
            try
            {
                LogGetter.ImportLogs();
            }
            catch (ImportLogsException e)
            {
                Console.WriteLine(e.Message);
                return;
            }

            List <FileInfo> logs = LogGetter.Logs;

            LogAnalyzer logAnalyzer = new LogAnalyzer();

            logAnalyzer.Start(logs);

            CliFormatter.PrintExitMessage();
        }
 static void Main(string[] args)
 {
     //InstanceAnalyzer.analyzeAllInstances("Instances.xlsx");
     LogAnalyzer.mapName("log.600s.csv", "log.map.csv");
 }