Base class for a Log collector. More...
#include <NarvalCollector.h>
Public Member Functions | |
virtual void | DoCollect (LogMessage &) |
Send messages to Narval system. More... | |
virtual std::string & | GetName () |
virtual bool | IsDeleteByCentralLog () const |
if true, the collector is deleted by the central log More... | |
NarvalCollector (const char *name, bool isdelbycental) | |
void | SetLevelFiltering (unsigned short min, unsigned short max) |
LogMessages processed by the LogCollector if their level is between min and max. More... | |
virtual | ~NarvalCollector () |
Static Public Member Functions | |
static LogCollector * | theCollector () |
return the current logcollector More... | |
Protected Member Functions | |
int | ConvertLevel (LogMessage::ELevel lev) |
to convert log level from ADF to Narval conventions More... | |
Protected Attributes | |
unsigned short | fMaxLevel |
unsigned short | fMinLevel |
to send to the log server only message having their level between min and max More... | |
Base class for a Log collector.
Definition at line 37 of file NarvalCollector.h.