summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/Debug_Macros.h
blob: 94fe579378792cd487e8b8477252f5f7b099e24f (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
#include "ace/pre.h"
#define DEBUG_MACROS_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