git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4986
e03df62e-2008-0410-955e-
edbf42e46eb7
FileLogger(InspIRCd* Instance, FILE* logfile);
/** This returns false, logfiles are writeable.
*/
FileLogger(InspIRCd* Instance, FILE* logfile);
/** This returns false, logfiles are writeable.
*/
+ virtual bool Readable();
/** Handle pending write events.
* This will flush any waiting data to disk.
* If any data remains after the fprintf call,
* another write event is scheduled to write
* the rest of the data when possible.
*/
/** Handle pending write events.
* This will flush any waiting data to disk.
* If any data remains after the fprintf call,
* another write event is scheduled to write
* the rest of the data when possible.
*/
- void HandleEvent(EventType et);
+ virtual void HandleEvent(EventType et);
/** Write one or more preformatted log lines.
* If the data cannot be written immediately,
* this class will insert itself into the
/** Write one or more preformatted log lines.
* If the data cannot be written immediately,
* this class will insert itself into the
void WriteLogLine(const std::string &line);
/** Close the log file and cancel any events.
*/
void WriteLogLine(const std::string &line);
/** Close the log file and cancel any events.
*/
/** Close the log file and cancel any events.
* (indirectly call Close()
*/
/** Close the log file and cancel any events.
* (indirectly call Close()
*/