Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Logging / Simple1.cpp
blob3c390f2c25b20a91e8196f348a246f245927ac3c
1 #include "ace/Log_Msg.h"
3 void foo ();
5 int ACE_TMAIN (int, ACE_TCHAR *[])
7 ACE_TRACE("main");
9 ACE_DEBUG ((LM_INFO, ACE_TEXT ("%IHi Mom\n")));
10 foo();
11 ACE_DEBUG ((LM_INFO, ACE_TEXT ("%IGoodnight\n")));
13 return 0;
16 void foo ()
18 ACE_TRACE ("foo");
20 ACE_DEBUG ((LM_INFO, ACE_TEXT ("%IHowdy Pardner\n")));