コード例 #1
0
 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);
 }
コード例 #2
0
 public static void StartLogMonitor()
 {
     string productPath = NetLogMonitor.ObtainDefaultPath();
     if (productPath != null)
     {
         NetLogMonitor monitor = new NetLogMonitor(productPath, (result) => LogQueue.Add(result));
         monitor.start();
     }
 }
コード例 #3
0
 public static void StartLogMonitor(NetLogConfiguration configuration)
 {
     if (configuration != null)
     {
         NetLogMonitor monitor = new NetLogMonitor(configuration, (result) => LogQueue.Add(result));
         monitor.start();
     }
 }