6 LogNT* LogNT::instance = NULL;
18 LogNT* LogNT::getInstance()
23 bool LogNT::init(const std::string& tfileName, bool tenabled)
25 if (!tenabled) return true;
28 fileName = tfileName; // Keep the filename for later?
30 if (!fileName.compare("stdout"))
32 outstream = &std::cout;
37 logFile.open(fileName, std::ios_base::out | std::ios_base::app);
38 if (!logFile.is_open()) return false;
43 void LogNT::setTraceOnlyMode(bool t)