28 #define Gw_CENTRALLOG_H Gw_CentralLog
57 std::list < LogCollector * > fListOfCollectors;
bool IsCollector(std::string whichlog)
Check if the given collector already exists.
bool ChangeCollector(std::string whichlog=std::string("Null"))
to change the current collector
Base class for a Log collector.
LogCollector * GetCurrentLogCollector() const
Return the current logcollector.
To properly destroy a singleton.
LogCollector * Add(LogCollector *)
Add a new LogCollector to the list of known collectors.
CentralLog is a singleton that should be destroyed at exit time.
static CentralLog * theCentralLog()
CentralLog is a singleton.