1 #ifndef __GTS_LOGGER_H__
2 #define __GTS_LOGGER_H__
8 #define LOG_IT logger << __FILE__ << "(" << __LINE__ << ") : "
18 Logger(const std::string & fileName)
19 : fout(fileName.c_str(), std::ios::app),
21 consoleLog(!fout.is_open())
26 bool setLogFile(const std::string & fileName);
28 std::ostream & operator<<(const std::string & str);
39 extern GTS::Logger logger;