Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CacheLogger Class Reference

#include <loggingCacheLogger.h>

Inheritance diagram for CacheLogger:

Inheritance graph
[legend]
List of all members.

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".

Detailed Description

Implements an ACE_Log_Msg_Backend that logs cache. (In case of centralized logger could not be contancted.)


Constructor & Destructor Documentation

virtual CacheLogger::~CacheLogger void   )  [inline, virtual]
 

Destructor.


Member Function Documentation

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 int CacheLogger::log int  priority,
const ACE_TCHAR *  msg
[pure virtual]
 

Send log.

Implemented in LocalFileLogger, LocalSyslogLogger, and RemoteSyslogLogger.

virtual int 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.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:36:11 2009 for ACS C++ API by doxygen 1.3.8