com::pcbsys::nirvana::nAdminAPI::nLogListener Class Referenceabstract

Classes that implement this interface can register with the nRealmNode.addLogListener() to receive the realms log events. More...

#include <nLogListener.h>

Inherited by com::pcbsys::nirvana::nAdminAPI::nPkgClusterLogHandler.

Public Member Functions

virtual void report (const std::string &message)=0
 This method is called by the nRealmNode to inform the user object of a new log event. More...
 

Detailed Description

Classes that implement this interface can register with the nRealmNode.addLogListener() to receive the realms log events.

Depending on the fLogger setting in the configuration for the realm this could result in a large amount of data being delivered.

Member Function Documentation

virtual void com::pcbsys::nirvana::nAdminAPI::nLogListener::report ( const std::string &  message)
pure virtual

This method is called by the nRealmNode to inform the user object of a new log event.

The event contains the date/time, the severity and the text of the event

Parameters
messagedate/time:severity:text message