1 #ifndef _FBT_DEBUG 2 #define _FBT_DEBUG 3 4 #define fbtLog_None 0 5 #define fbtLog_Failure 1 6 #define fbtLog_Warning 2 7 #define fbtLog_Notice 3 8 #define fbtLog_Enter 4 9 #define fbtLog_Exit 4 10 #define fbtLog_Verbose 5 11 #define fbtLog_Exception 0 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 void fbtLog(unsigned int nLevel, const char *szText, ...); 18 BOOL fbtLogSetFile(char *szDebugFile); 19 void fbtLogSetLevel(unsigned int nLevel); 20 unsigned int fbtLogGetLevel(void); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif 27