/// <summary> /// Starts the timer that flushes the log queue. /// </summary> public bool Start() { if (LogType.Disabled != RockfishServerPlugIn.LogType()) { m_timer.Start(); return(true); } return(false); }
/// <summary> /// Adds an item to the queue. /// </summary> public void Enqueue(RockfishHeader header) { if (null != header) { lock (m_locker) { if (RockfishLog.LogType.Disabled != RockfishServerPlugIn.LogType()) { m_queue.Enqueue(header); } } } }