summaryrefslogtreecommitdiff
path: root/include/logger.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-20 04:40:18 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-20 04:40:18 +0000
commitfa5abf73fee733bda9c99005c447205df2299e14 (patch)
tree46067eb053031ca41689c95d031e47830e8d2532 /include/logger.h
parent43ea75c0b3b64f1ebde2c7048a64d1f5bb3242fe (diff)
Get rid of more unneeded parent classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11930 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/logger.h')
-rw-r--r--include/logger.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/logger.h b/include/logger.h
index e3b7ee0a5..f0cbe14d3 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -26,7 +26,7 @@
* I/O (linux seems to, as does freebsd) this will default to
* blocking behaviour.
*/
-class CoreExport FileWriter : public EventHandler
+class CoreExport FileWriter
{
protected:
/** The log file (fd is inside this somewhere,
@@ -43,14 +43,6 @@ class CoreExport FileWriter : public EventHandler
*/
FileWriter(FILE* logfile);
- /** 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.
- */
- virtual void HandleEvent(EventType et, int errornum = 0);
-
/** Write one or more preformatted log lines.
* If the data cannot be written immediately,
* this class will insert itself into the
@@ -62,10 +54,6 @@ class CoreExport FileWriter : public EventHandler
/** Close the log file and cancel any events.
*/
- virtual void Close();
-
- /** Close the log file and cancel any events.
- */
virtual ~FileWriter();
};