InspIRCd
2.0
|
#include <filelogger.h>
Public Member Functions | |
FileLogStream (int loglevel, FileWriter *fw) | |
virtual void | OnLog (int loglevel, const std::string &type, const std::string &msg) |
![]() | |
LogStream (int loglevel) | |
void | ChangeLevel (int lvl) |
![]() | |
virtual CullResult | cull () |
Additional Inherited Members | |
![]() | |
int | loglvl |
A logging class which logs to a streamed file.
|
virtual |
Called when there is stuff to log for this particular logstream. The derived class may take no action with it, or do what it wants with the output, basically. loglevel and type are primarily for informational purposes (the level and type of the event triggered) and msg is, of course, the actual message to log.
Implements LogStream.