ACE_INet
6.1.0
|
Classes | |
class | ACE::INet_Log |
Namespaces | |
namespace | ACE |
Defines | |
#define | DLINFO ACE_TEXT("(%P|%t) [%M] - %T - ") |
#define | INET_NTRACE 0 |
#define | ACE_HAS_TRACE |
#define | INET_TRACE(X) ACE_TRACE_IMPL (X) |
#define | INET_ENABLE_TRACE() ACE_Trace::start_tracing () |
#define | INET_DISABLE_TRACE() ACE_Trace::stop_tracing () |
#define | DLINFO ACE_TEXT("%I(%P|%t) [%M] - %T - ") |
#define | INET_ERROR(L, X) |
#define | INET_DEBUG(L, X) |
#define | INET_HEX_DUMP(L, X) |
#define | INET_ERROR_RETURN(L, X, Y) |
#define | INET_ERROR_BREAK(L, X) { INET_ERROR (L, X); break; } |
Macros used for logging in INet
#define ACE_HAS_TRACE |
#define DLINFO ACE_TEXT("(%P|%t) [%M] - %T - ") |
#define DLINFO ACE_TEXT("%I(%P|%t) [%M] - %T - ") |
#define INET_DEBUG | ( | L, | |
X | |||
) |
do { \ if (::ACE::INet_Log::debug_level_ >= L) \ { \ int const __ace_error = ACE_Log_Msg::last_error_adapter (); \ ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \ ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \ ace___->log X; \ } \ } while (0)
#define INET_DISABLE_TRACE | ( | ) | ACE_Trace::stop_tracing () |
#define INET_ENABLE_TRACE | ( | ) | ACE_Trace::start_tracing () |
#define INET_ERROR | ( | L, | |
X | |||
) |
do { \ if (::ACE::INet_Log::debug_level_ >= L) \ { \ int const __ace_error = ACE_Log_Msg::last_error_adapter (); \ ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \ ace___->conditional_set (__FILE__, __LINE__, -1, __ace_error); \ ace___->log X; \ } \ } while (0)
#define INET_ERROR_BREAK | ( | L, | |
X | |||
) | { INET_ERROR (L, X); break; } |
#define INET_ERROR_RETURN | ( | L, | |
X, | |||
Y | |||
) |
do { \ if (::ACE::INet_Log::debug_level_ >= L) \ { \ int const __ace_error = ACE_Log_Msg::last_error_adapter (); \ ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \ ace___->conditional_set (__FILE__, __LINE__, Y, __ace_error); \ ace___->log X; \ return Y; \ } \ } while (0)
#define INET_HEX_DUMP | ( | L, | |
X | |||
) |
do { \ if (::ACE::INet_Log::debug_level_ >= L) \ { \ int const __ace_error = ACE_Log_Msg::last_error_adapter (); \ ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \ ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \ ace___->log_hexdump X; \ } \ } while (0)
#define INET_NTRACE 0 |
#define INET_TRACE | ( | X | ) | ACE_TRACE_IMPL (X) |