#include <Log_Msg_Backend.h>
Inheritance diagram for ACE_Log_Msg_Backend:
Public Member Functions | |
virtual | ~ACE_Log_Msg_Backend (void) |
No-op virtual destructor. | |
virtual int | open (const ACE_TCHAR *logger_key)=0 |
virtual int | reset (void)=0 |
virtual int | close (void)=0 |
Close the backend completely. | |
virtual ssize_t | log (ACE_Log_Record &log_record)=0 |
The ACE_Log_Msg class uses ACE_Log_Msg_Backend as the target interface for back end log record procesing. In addition to the classes ACE derives from this (ACE_Log_Msg_NT_Event_Log, ACE_Log_Msg_UNIX_Syslog, and ACE_Log_Msg_IPC) users can derive classes from ACE_Log_Msg_Backend for use as a custom logger back end.
Definition at line 41 of file Log_Msg_Backend.h.
|
No-op virtual destructor.
Definition at line 10 of file Log_Msg_Backend.cpp.
00011 { 00012 } |
|
Close the backend completely.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_UNIX_Syslog. Referenced by ACE_Log_Msg::~ACE_Log_Msg(). |
|
Process a log record.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_UNIX_Syslog. Referenced by ACE_Log_Msg::log(). |
|
Open the back end object. Perform any actions needed to prepare the object for later logging operations.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_UNIX_Syslog. Referenced by ACE_Log_Msg::open(). |
|
Reset the backend. If ACE_Log_Msg is reopened during execution, this hook will be called. This method should perform any needed cleanup activity (similar to close()) because this object won't be reopened if the new open call does not specify use of this back end being reset.
Implemented in ACE_Log_Msg_IPC, and ACE_Log_Msg_UNIX_Syslog. Referenced by ACE_Log_Msg::open(). |