Base class for a Log collector. More...
#include <GwLogCollector.h>
Public Member Functions | |
virtual void | DoCollect (LogMessage &) |
Default, collect nothing ! More... | |
virtual std::string & | GetName () |
virtual bool | IsDeleteByCentralLog () const |
if true, the collector is deleted by the central log More... | |
LogCollector (const char *, bool isdelbycental=false) | |
void | SetLevelFiltering (unsigned short min, unsigned short max) |
LogMessages processed by the LogCollector if their level is between min and max. More... | |
virtual | ~LogCollector () |
Static Public Member Functions | |
static LogCollector * | theCollector () |
return the current logcollector 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 42 of file GwLogCollector.h.