TAO  2.3.3
Macros | Variables
debug.h File Reference
#include "ace/Log_Category.h"

Macros

#define TAOLIB_HEX_DUMP(X)
 
#define TAOLIB_ERROR_RETURN(X, Y)
 
#define TAOLIB_ERROR(X)
 
#define TAOLIB_DEBUG(X)
 

Variables

unsigned int TAO_debug_level
 
unsigned int TAO_orbdebug
 
ACE_Log_Category TAO_log_category
 

Detailed Description

Author
DOC Group

Macro Definition Documentation

#define TAOLIB_DEBUG (   X)
Value:
do { \
int const __ace_error = ACE_Log_Msg::last_error_adapter (); \
ACE_Log_Category_TSS *ace___ = TAO_VERSIONED_NAMESPACE_NAME::TAO_log_category.per_thr_obj(); \
if (ace___ == 0) break;\
ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
ace___->log X; \
} while (0)
ACE_Log_Category_TSS * per_thr_obj()
static int last_error_adapter(void)
ACE_Log_Category TAO_log_category
#define TAOLIB_ERROR (   X)
Value:
do { \
int const __ace_error = ACE_Log_Msg::last_error_adapter (); \
ACE_Log_Category_TSS *ace___ = TAO_VERSIONED_NAMESPACE_NAME::TAO_log_category.per_thr_obj(); \
if (ace___ == 0) break;\
ace___->conditional_set (__FILE__, __LINE__, -1, __ace_error); \
ace___->log X; \
} while (0)
ACE_Log_Category_TSS * per_thr_obj()
static int last_error_adapter(void)
ACE_Log_Category TAO_log_category
#define TAOLIB_ERROR_RETURN (   X,
 
)
Value:
do { \
int const __ace_error = ACE_Log_Msg::last_error_adapter (); \
ACE_Log_Category_TSS *ace___ = TAO_VERSIONED_NAMESPACE_NAME::TAO_log_category.per_thr_obj(); \
if (ace___ == 0) return Y;\
ace___->conditional_set (__FILE__, __LINE__, Y, __ace_error); \
ace___->log X; \
return Y; \
} while (0)
ACE_Log_Category_TSS * per_thr_obj()
static int last_error_adapter(void)
ACE_Log_Category TAO_log_category
#define TAOLIB_HEX_DUMP (   X)
Value:
do { \
int const __ace_error = ACE_Log_Msg::last_error_adapter (); \
ACE_Log_Category_TSS *ace___ = TAO_VERSIONED_NAMESPACE_NAME::TAO_log_category.per_thr_obj(); \
if (ace___ == 0) break;\
ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
ace___->log_hexdump X; \
} while (0)
ACE_Log_Category_TSS * per_thr_obj()
static int last_error_adapter(void)
ACE_Log_Category TAO_log_category

Variable Documentation

unsigned int TAO_debug_level
ACE_Log_Category TAO_log_category
unsigned int TAO_orbdebug