summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h
blob: 7cf8de720f8e210018944fe162155690e8b9cfaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// $Id$

#ifndef DEBUG_MACROS_H
#define DEBUG_MACROS_H
#include "ace/pre.h"

#if defined (ACE_ES_NOLOGGING)
#define ACE_ES_DEBUG(X)
#define ACE_ES_DEBUG_ST(X)
#else
#define ACE_ES_DEBUG(X) \
  do { \
      ACE_Log_Msg::instance ()->log X; \
  } while (0)
#define ACE_ES_DEBUG_ST(X) X
#endif /* ACE_ES_NOLOGGING */

#include "ace/post.h"
#endif // DEBUG_MACROS_H