|
CacheLogger − |
|
#include <loggingCacheLogger.h> Inherited by LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
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 ssize_t log (ACE_Log_Record &log_record)=0 |
|
virtual ssize_t 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’. |
|
Implements an ACE_Log_Msg_Backend that logs cache. (In case of centralized logger could not be contancted.) |
|
virtual CacheLogger::~CacheLogger (void) [inline, virtual] |
|
Destructor. |
|
virtual int CacheLogger::close (void) [pure virtual] |
|
No-op for UDP. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
virtual const ACE_TCHAR* CacheLogger::getDestination () [pure virtual] |
|
Returns the destination of the logger, e.g. ’dina.ijs.si’. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
virtual const ACE_TCHAR* CacheLogger::getIdentification () [pure virtual] |
|
Returns identification string, e.g. ’Local syslog’. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
virtual ssize_t CacheLogger::log (int priority, const ACE_TCHAR * msg) [pure virtual] |
|
Send log. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
virtual ssize_t CacheLogger::log (ACE_Log_Record & log_record) [pure virtual] 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. |
|
virtual int CacheLogger::open (const ACE_TCHAR * key = 0) [pure virtual] |
|
Open a new connection. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
virtual int CacheLogger::reset (void) [pure virtual] |
|
No-op for UDP. Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger. |
|
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |