summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-09 13:06:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-09 13:06:02 +0000
commit2bd34b7037095f5007cf0acc36a32916ff0ea74e (patch)
tree16e27b98a0af59e21761157208d6d01756fce49e /include
parentc61fb7544dda003ed5d93d66d4c8cfe2064edf92 (diff)
Add a printf-type override for LogManager::Log(). We need to find a way to see if a log call would have any interest, to avoid unnecessary printf() here though. Convert a bunch of stuff to using new logging (added targets: USERS, USERIO)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8860 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/logger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/logger.h b/include/logger.h
index d32c3d184..d22b4203b 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -44,6 +44,7 @@ class CoreExport LogManager : public classbase
bool AddLogType(const std::string &type, LogStream *l);
bool DelLogType(const std::string &type, LogStream *l);
void Log(const std::string &type, int loglevel, const std::string &msg);
+ void Log(const std::string &type, int loglevel, const char *fmt, ...);
};
#endif