Lines Matching refs:Log
26 class Log: public FileUtil {
36 static Log* Instance(const char* dirName = NULL);
46 Log();
47 virtual ~Log();
51 static Log* mInstance;
55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \
56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0)
57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0)
58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0)
59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0)
60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0)
62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0)
64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
66 Log::Finalize(); \