Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Logging / Use_Logger.cpp
blob805c235b3191c126587c074717d0319882ed1c17
1 #include "ace/Log_Msg.h"
3 int ACE_TMAIN (int, ACE_TCHAR *argv[])
5 ACE_LOG_MSG->open (argv[0],
6 ACE_Log_Msg::LOGGER,
7 ACE_DEFAULT_LOGGER_KEY);
9 ACE_TRACE ("main");
11 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("%IHi Mom\n")));
12 ACE_DEBUG ((LM_INFO, ACE_TEXT ("%IGoodnight\n")));
14 return 0;