4 #include "ace/streams.h"
5 #include "ace/Log_Msg.h"
6 #include "ace/Log_Msg_Callback.h"
7 #include "ace/Log_Record.h"
9 class Callback
: public ACE_Log_Msg_Callback
12 void log (ACE_Log_Record
&log_record
) {
13 # if defined (ACE_LACKS_IOSTREAM_TOTALLY)
14 log_record
.print (ACE_TEXT (""), 0, stderr
);
15 log_record
.print (ACE_TEXT (""), ACE_Log_Msg::VERBOSE
, stderr
);
17 log_record
.print (ACE_TEXT (""), 0, cerr
);
18 log_record
.print (ACE_TEXT (""), ACE_Log_Msg::VERBOSE
, cerr
);
19 # endif /* ACE_LACKS_IOSTREAM_TOTALLY */
23 #endif /* APG_CALLBACK_H */