mylog.h

Go to the documentation of this file.
00001 #include <mi32/misystem.h>
00002 
00003 inline void MyLog(const char* file, int line, const char* msg) {
00004    double sec = (double)(MISYSTEM::GetTickCount() - 10000) / 1000.0;
00005    fprintf(stderr, "%8.3f %s(%d) %s\n", sec, file, line, msg);
00006    }
00007 
00008 #define DDD MyLog(__FILE__, __LINE__, "");
00009 #define LOG(s) MyLog(__FILE__, __LINE__, s);
00010 

Generated on Tue Dec 14 13:18:44 2004 for TNTsdk by  doxygen 1.3.8-20040913