public void log(string msg, bool loggingEnabled = true) { if (loggingEnabled) { LogTupple l = new LogTupple(); l.fileName = m_fileName; l.msg = msg; m_logBook.log(l); } }
// --------------------------------------------------------------------- // Adds item into a queue to be logged. // --------------------------------------------------------------------- public void log(LogTupple logThis) { m_logQueue.Enqueue(logThis); }