Log.h File Reference
Go to the source code of this file.
Namespaces | |
artec | |
artec::sdk | |
artec::sdk::base | |
Macros | |
#define | ABASESDK_MESSAGE(severity, ...) { if (getOutputLevel() >= severity) report(severity, L"ABASE", __VA_ARGS__); } |
#define | ABASESDK_INFO(...) ABASESDK_MESSAGE(VerboseLevel_Info, __VA_ARGS__) |
#define | ABASESDK_ERROR(...) ABASESDK_MESSAGE(VerboseLevel_Error, __VA_ARGS__) |
#define | ABASESDK_WARNING(...) ABASESDK_MESSAGE(VerboseLevel_Warning, __VA_ARGS__) |
#define | ABASESDK_TRACE(...) ABASESDK_MESSAGE(VerboseLevel_Trace, __VA_ARGS__) |
Typedefs | |
typedef int(* | artec::sdk::base::REPORT_HOOK) (int, const wchar_t *) |
Functions | |
void ABASESDK_LINK_SPEC | artec::sdk::base::setOutputLevel (int mode) |
int ABASESDK_LINK_SPEC | artec::sdk::base::getOutputLevel () |
bool ABASESDK_LINK_SPEC | artec::sdk::base::setReportHook (int mode, REPORT_HOOK newHook) |
void ABASESDK_LINK_SPEC | artec::sdk::base::report (int verboseLevel, const wchar_t *module, const wchar_t *format,...) |
void ABASESDK_LINK_SPEC | artec::sdk::base::vReport (int verboseLevel, const wchar_t *module, const wchar_t *format, va_list args) |
Variables | |
const int | artec::sdk::base::RPTHOOK_INSTALL = 0 |
const int | artec::sdk::base::RPTHOOK_REMOVE = 1 |
Macro Definition Documentation
#define ABASESDK_ERROR | ( | ... | ) | ABASESDK_MESSAGE(VerboseLevel_Error, __VA_ARGS__) |
#define ABASESDK_INFO | ( | ... | ) | ABASESDK_MESSAGE(VerboseLevel_Info, __VA_ARGS__) |
#define ABASESDK_MESSAGE | ( | severity, | |
... | |||
) | { if (getOutputLevel() >= severity) report(severity, L"ABASE", __VA_ARGS__); } |
#define ABASESDK_TRACE | ( | ... | ) | ABASESDK_MESSAGE(VerboseLevel_Trace, __VA_ARGS__) |
#define ABASESDK_WARNING | ( | ... | ) | ABASESDK_MESSAGE(VerboseLevel_Warning, __VA_ARGS__) |