Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Logging / Log_Msg_Alt.h
blob7213b36fa65d3785c68c11d61f10f618e9ac8567
1 #ifndef LOG_MSG_ALT_H
2 #define LOG_MSG_ALT_H
4 #include "ace/Log_Msg.h"
6 // Listing 1 code/ch03
7 #define MY_DEBUG LM_DEBUG, ACE_TEXT ("DEBUG%I")
8 #define MY_INFO LM_INFO, ACE_TEXT ("INFO%I")
9 #define MY_NOTICE LM_NOTICE, ACE_TEXT ("NOTICE%I")
10 #define MY_WARNING LM_WARNING, ACE_TEXT ("WARNING%I")
11 #define MY_ERROR LM_ERROR, ACE_TEXT ("ERROR%I")
12 #define MY_CRITICAL LM_CRITICAL, ACE_TEXT ("CRITICAL%I")
13 #define MY_ALERT LM_ALERT, ACE_TEXT ("ALERT%I")
14 #define MY_EMERGENCY LM_EMERGENCY, ACE_TEXT ("EMERGENCY%I")
15 // Listing 1
17 #endif /* LOG_ALT_H */