TAO 3.1.4
Loading...
Searching...
No Matches
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

◆ TAOLIB_DEBUG

#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)
static int last_error_adapter()

◆ TAOLIB_ERROR

#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)

◆ TAOLIB_ERROR_RETURN

#define TAOLIB_ERROR_RETURN ( X,
Y )
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)

◆ TAOLIB_HEX_DUMP

#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)

Variable Documentation

◆ TAO_debug_level

unsigned int TAO_debug_level
extern

◆ TAO_log_category

ACE_Log_Category TAO_log_category
extern

◆ TAO_orbdebug

unsigned int TAO_orbdebug
extern