Exemple #1
0
        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);
            }
        }
Exemple #2
0
 // ---------------------------------------------------------------------
 // Adds item into a queue to be logged.
 // ---------------------------------------------------------------------
 public void log(LogTupple logThis)
 {
     m_logQueue.Enqueue(logThis);
 }
Exemple #3
0
 // ---------------------------------------------------------------------
 // Adds item into a queue to be logged.
 // ---------------------------------------------------------------------
 public void log(LogTupple logThis)
 {
     m_logQueue.Enqueue(logThis);
 }
Exemple #4
0
        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);
            }
        }