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 | ad1fe36e2aa1d559db61e4a808e2c84cf52bbe47 (patch) | |
tree | 37608fdbef779af81f04a1fa8c7cd171fe3037fc /examples | |
parent | aeb17f28adaee587a2104e9f40b75c41fb3da0d4 (diff) | |
download | ATCD-ad1fe36e2aa1d559db61e4a808e2c84cf52bbe47.tar.gz |
*** empty log message ***
Diffstat (limited to 'examples')
-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, |