From 4865a8cfff2fb2ab3acba89c5aabbb5f0db80743 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 7 Aug 2013 16:44:35 +0000 Subject: Add m_sql_log --- include/modules.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index b217b1b0e..14661d1c7 100644 --- a/include/modules.h +++ b/include/modules.h @@ -994,6 +994,14 @@ class CoreExport Module : public Extensible */ virtual void OnLog(Log *l) { throw NotImplementedException(); } + /** Called when a log message is actually logged to a given log info + * The message has already passed validation checks by the LogInfo + * @param li The loginfo whee the message is being logged + * @param l The log message + * @param msg The final formatted message, derived from 'l' + */ + virtual void OnLogMessage(LogInfo *li, const Log *l, const Anope::string &msg) { throw NotImplementedException(); } + /** Called when a DNS request (question) is recieved. * @param req The dns request * @param reply The reply that will be sent -- cgit