Log_Msg.h File Reference

#include "ace/config-all.h"
#include "ace/ACE_export.h"
#include "ace/Global_Macros.h"
#include "ace/Default_Constants.h"
#include "ace/Log_Priority.h"
#include "ace/os_include/os_limits.h"
#include "ace/OS_Log_Msg_Attributes.h"
#include "ace/Log_Msg_T.h"

Include dependency graph for Log_Msg.h:


Classes

class  ACE_Log_Msg
 Provides a variable length argument message logging abstraction. More...

Defines

#define ACE_ASSERT(X)
#define ACE_ASSERT_VALID(X)   ACE_ASSERT(ace_valid_object((X)))
#define ACE_HEX_DUMP(X)
#define ACE_RETURN(Y)
#define ACE_ERROR_RETURN(X, Y)
#define ACE_ERROR(X)
#define ACE_DEBUG(X)
#define ACE_ERROR_INIT(VALUE, FLAGS)
#define ACE_ERROR_BREAK(X)   { ACE_ERROR (X); break; }
#define ACE_LOG_MSG   ACE_Log_Msg::instance ()

Detailed Description

Id
Log_Msg.h,v 1.1.1.5.2.6 2005/09/06 17:41:45 giovannd Exp

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>

Define Documentation

#define ACE_ASSERT  ) 
 

Value:

do { if(!(X)) { \
  int __ace_error = ACE_Log_Msg::last_error_adapter (); \
  ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
  ace___->set (__FILE__, __LINE__, -1, __ace_error, ace___->restart (), \
               ace___->msg_ostream (), ace___->msg_callback ()); \
  ace___->log (LM_ERROR, ACE_TEXT("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), ACE_TEXT(#X), -1); \
  } } while (0)

#define ACE_ASSERT_VALID  )     ACE_ASSERT(ace_valid_object((X)))
 

#define ACE_DEBUG  ) 
 

Value:

do { \
    int __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 ACE_ERROR  ) 
 

Value:

do { \
    int __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 ACE_ERROR_BREAK  )     { ACE_ERROR (X); break; }
 

#define ACE_ERROR_INIT VALUE,
FLAGS   ) 
 

Value:

do { \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->set_flags (FLAGS); ace___->op_status (VALUE); \
  } while (0)

#define ACE_ERROR_RETURN X,
 ) 
 

Value:

do { \
    int __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 ACE_HEX_DUMP  ) 
 

Value:

do { \
    int __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 ACE_LOG_MSG   ACE_Log_Msg::instance ()
 

#define ACE_RETURN  ) 
 

Value:

do { \
    int __ace_error = ACE_Log_Msg::last_error_adapter (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->set (__FILE__, __LINE__, Y, __ace_error, ace___->restart (), \
                 ace___->msg_ostream (), ace___->msg_callback ()); \
    return Y; \
  } while (0)


Generated on Wed Nov 23 15:47:01 2005 for ACE by  doxygen 1.4.5