11 #ifndef _ABASESDK_LOG_H_ 
   12 #define _ABASESDK_LOG_H_ 
   14 #ifndef ABASESDK_DISABLE_TRACING 
   19 namespace artec { 
namespace sdk { 
namespace base
 
   52     const wchar_t * module,
 
   53     const wchar_t * format,
 
   58     const wchar_t * module,
 
   59     const wchar_t * format,
 
   64 #define ABASESDK_MESSAGE(severity, ...) { if (getOutputLevel() >= severity) report(severity, L"BASE", __VA_ARGS__); } 
   65 #define ABASESDK_INFO(...)           ABASESDK_MESSAGE(VerboseLevel_Info, __VA_ARGS__) 
   66 #define ABASESDK_ERROR(...)             ABASESDK_MESSAGE(VerboseLevel_Error, __VA_ARGS__) 
   67 #define ABASESDK_WARNING(...)           ABASESDK_MESSAGE(VerboseLevel_Warning, __VA_ARGS__) 
   68 #define ABASESDK_TRACE(...)             ABASESDK_MESSAGE(VerboseLevel_Trace, __VA_ARGS__) 
   74 #define ABASESDK_MESSAGE(severity, ...) {} 
   75 #define ABASESDK_INFO(...)           {} 
   76 #define ABASESDK_ERROR(...)             {} 
   77 #define ABASESDK_WARNING(...)           {} 
   78 #define ABASESDK_TRACE(...)             {} 
   82 #endif // _ABASESDK_LOG_H_ 
Output errors and warnings. 
int ABASESDK_LINK_SPEC getOutputLevel()
int(* REPORT_HOOK)(int, const wchar_t *)
bool ABASESDK_LINK_SPEC setReportHook(int mode, REPORT_HOOK newHook)
Output errors, warnings and information. 
void ABASESDK_LINK_SPEC report(int verboseLevel, const wchar_t *module, const wchar_t *format,...)
void ABASESDK_LINK_SPEC vReport(int verboseLevel, const wchar_t *module, const wchar_t *format, va_list args)
const int RPTHOOK_INSTALL
VerboseLevel
The level of detail of verbose output. 
#define ABASESDK_LINK_SPEC
void ABASESDK_LINK_SPEC setOutputLevel(int mode)