#include <loggingCacheLogger.h>
Inheritance diagram for CacheLogger:
Public Member Functions | |
virtual | ~CacheLogger (void) |
Destructor. | |
virtual int | open (const ACE_TCHAR *key=0)=0 |
Open a new connection. | |
virtual int | reset (void)=0 |
No-op for UDP. | |
virtual int | close (void)=0 |
No-op for UDP. | |
virtual int | log (ACE_Log_Record &log_record)=0 |
virtual int | log (int priority, const ACE_TCHAR *msg)=0 |
Send log. | |
virtual const ACE_TCHAR * | getIdentification ()=0 |
Returns identification string, e.g. "Local syslog". | |
virtual const ACE_TCHAR * | getDestination ()=0 |
Returns the destination of the logger, e.g. "dina.ijs.si". |
|
Destructor.
|
|
No-op for UDP.
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
Returns the destination of the logger, e.g. "dina.ijs.si".
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
Returns identification string, e.g. "Local syslog".
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
Send log.
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
ACE_Log_Record with msg_data and priority set. Logs the record's msg_data() and maps ACE priority to syslog priority. ACE_Log_Record.msg_data() copies message (performacne concern). Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
Open a new connection.
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|
|
No-op for UDP.
Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.
|