#include <Log_Msg_Backend.h>
Inheritance diagram for ACE_Log_Msg_Backend:
Public Methods | |
virtual | ~ACE_Log_Msg_Backend (void) |
No-op virtual destructor. | |
virtual int | open (const ACE_TCHAR *logger_key)=0 |
Open a new connection. | |
virtual int | reset (void)=0 |
virtual int | close (void)=0 |
Close the backend completely. | |
virtual int | log (ACE_Log_Record &log_record)=0 |
The ACE_Log_Msg class can log to multiple backend strategies, for example, some send messages to a remote logger, others dump to a file, or simply to stderr. In the future we could define interfaces that log to the syslog daemon (on UNIX), the Event log (on NT) a temporary ring buffer, etc.
|
No-op virtual destructor.
|
|
Close the backend completely.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_NT_Event_Log. |
|
Backend routine. This is called when we want to log a message. Since this routine is pure virtual, it must be overwritten by the subclass. Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_NT_Event_Log. |
|
Open a new connection.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_NT_Event_Log. |
|
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_NT_Event_Log. |