Example #1
0
 public static void Close()
 {
     if (_logQueue != null)
     {
         _logQueue.Stop();
         _logQueue = null;
     }
 }
Example #2
0
 public static void Init(string fileName)
 {
     if (_logQueue == null)
         _logQueue = new ProducerConsumerQueue(fileName);
 }