summaryrefslogtreecommitdiff
path: root/src/filelogger.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-09 21:00:07 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-09 21:00:07 +0000
commit1df212127427f88b502a5f1030fd2e0a31bd499e (patch)
treee4b4aefc0e4c4950107abd578cc74dc13450ee1b /src/filelogger.cpp
parent67976608ff1afff71e46a72b3d0c2dca800292e1 (diff)
Fix a bug in new logging API (global logstreams weren't notified of events if a specific logstream had an event claimed, don't store type in logstreams (pass it to OnLog instead), and add an example of what the new logging API can do: m_chanlog - logs to #services at the moment.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8865 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/filelogger.cpp')
-rw-r--r--src/filelogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filelogger.cpp b/src/filelogger.cpp
index 0e50f628e..d63d58915 100644
--- a/src/filelogger.cpp
+++ b/src/filelogger.cpp
@@ -102,7 +102,7 @@ FileLogger::~FileLogger()
}
-void FileLogStream::OnLog(int loglevel, const std::string &text)
+void FileLogStream::OnLog(int loglevel, const std::string &type, const std::string &text)
{
static char TIMESTR[26];
static time_t LAST = 0;