public void TestNetLog()
 {
     NetLogMonitor monitor = new NetLogMonitor("C:\\Program Files (x86)\\Elite\\Products\\elite-dangerous-64\\Logs", null);
     monitor.start();
     System.Threading.Thread.Sleep(180000);
     monitor.stop();
     //NetLogMonitor.Monitor("C:\\Program Files (x86)\\Elite\\Products\\elite-dangerous-64\\Logs", null);
 }
 public static void StartLogMonitor()
 {
     string productPath = NetLogMonitor.ObtainDefaultPath();
     if (productPath != null)
     {
         NetLogMonitor monitor = new NetLogMonitor(productPath, (result) => LogQueue.Add(result));
         monitor.start();
     }
 }
 public static void StartLogMonitor(NetLogConfiguration configuration)
 {
     if (configuration != null)
     {
         NetLogMonitor monitor = new NetLogMonitor(configuration, (result) => LogQueue.Add(result));
         monitor.start();
     }
 }