Home | History | Annotate | Download | only in src

Lines Matching refs:Log

20 #include "Log.h"
22 Log* Log::mInstance = NULL;
28 Log* Log::Instance(const char* dirName)
31 mInstance = new Log();
36 void Log::Finalize()
41 void Log::printf(LogLevel level, const char* fmt, ...)
49 void Log::setLogLevel(LogLevel level)
54 Log::Log()
57 ::fprintf(stderr, "Log level %d\n", mLogLevel);
60 Log::~Log()
65 bool Log::init(const char* dirName)
71 if (logFile.appendFormat("%s/log.txt", dirName) != 0) {