diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-19 06:49:22 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-19 06:49:22 +0000 |
commit | bfcaada53ae471b80123ad070f7add0cd80115cd (patch) | |
tree | 37608fdbef779af81f04a1fa8c7cd171fe3037fc /examples/Log_Msg | |
parent | f9900ed699a7ca58a9e121d8f437a62adafddd9e (diff) | |
download | ATCD-bfcaada53ae471b80123ad070f7add0cd80115cd.tar.gz |
*** empty log message ***
Diffstat (limited to 'examples/Log_Msg')
-rw-r--r-- | examples/Log_Msg/test_callback.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/Log_Msg/test_callback.cpp b/examples/Log_Msg/test_callback.cpp index 61ad6d2f6ca..555402bde5b 100644 --- a/examples/Log_Msg/test_callback.cpp +++ b/examples/Log_Msg/test_callback.cpp @@ -18,7 +18,6 @@ // ============================================================================ #include "ace/OS.h" -#include "ace/streams.h" ACE_RCSID(Log_Msg, test_callback, "$Id$") @@ -37,7 +36,8 @@ Logger::log (ACE_Log_Record &log_record) { if (!this->verbose_logging_) { - cerr << "Logger::log -> " << log_record.msg_data () << endl; + ACE_OS::printf ("Logger::log -> %s\n", + log_record.msg_data ()); } else { @@ -48,13 +48,14 @@ Logger::log (ACE_Log_Record &log_record) if (result == 0) { - cerr << "Logger::log -> " << verbose_msg << endl; + ACE_OS::printf ("Logger::log -> %s\n", + verbose_msg); } } } int -main (int argc, char *argv[]) +main (int, char *[]) { // This message should show up in stderr. ACE_DEBUG ((LM_DEBUG, |