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