Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Log_Msg.h File Reference

#include "ace/pre.h"
#include "ace/config-all.h"
#include "ace/Log_Record.h"
#include "ace/OS_Log_Msg_Attributes.h"
#include "ace/post.h"

Include dependency graph for Log_Msg.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Compounds

class  ACE_Log_Msg

Defines

#define ACE_ASSERT(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

Log_Msg.h,v 4.96 2001/08/25 15:29:37 schmidt Exp

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


Define Documentation

#define ACE_ASSERT( X )
 

Initializer:

\
  do { if(!(X)) { \
  int __ace_error = ACE_OS::last_error (); \
  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_LIB_TEXT ("ACE_ASSERT: file %N, line %l assertion failed for '%s'.%a\n"), #X, -1); \
  } } while (0)

#define ACE_DEBUG( X )
 

Initializer:

\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    ACE_Log_Msg *ace___ = ACE_Log_Msg::instance (); \
    ace___->conditional_set (__FILE__, __LINE__, 0, __ace_error); \
    ace___->log X; \
  } while (0)

#define ACE_ERROR( X )
 

Initializer:

\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    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( X )   { ACE_ERROR (X); break; }
 

#define ACE_ERROR_INIT( VALUE, FLAGS )
 

Initializer:

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

#define ACE_ERROR_RETURN( X, Y )
 

Initializer:

\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    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( X )
 

Initializer:

\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    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( Y )
 

Initializer:

\
  do { \
    int __ace_error = ACE_OS::last_error (); \
    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 at Fri Oct 5 06:29:26 2001 for ACE by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000