#define CIAO_DEBUG |
( |
|
L, |
|
|
|
X |
|
) |
| |
Value:do { \
{ \
if (ace___ == 0) break; \
ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
ace___->log X; \
} \
} while (0)
#define CIAO_DISABLE_TRACE |
( |
| ) |
do {} while (0) |
#define CIAO_ENABLE_TRACE |
( |
| ) |
do {} while (0) |
#define CIAO_ERROR |
( |
|
L, |
|
|
|
X |
|
) |
| |
Value:do { \
{ \
if (ace___ == 0) break; \
ace___->conditional_set (__FILE__, __LINE__, -1, __ace_error); \
ace___->log X; \
} \
} while (0)
#define CIAO_ERROR_BREAK |
( |
|
L, |
|
|
|
X |
|
) |
| { CIAO_ERROR (L, X); break; } |
#define CIAO_ERROR_RETURN |
( |
|
L, |
|
|
|
X, |
|
|
|
Y |
|
) |
| |
Value:do { \
{ \
if (ace___ == 0) break; \
ace___->conditional_set (__FILE__, __LINE__, Y, __ace_error); \
ace___->log X; \
} \
return Y; \
} while (0)
#define CIAO_TRACE |
( |
|
X | ) |
do {} while (0) |
#define CLINFO "(%P|%t) [%M] - %T - " |