summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-07 16:44:35 +0000
committerAdam <Adam@anope.org>2013-08-07 16:44:35 +0000
commit4865a8cfff2fb2ab3acba89c5aabbb5f0db80743 (patch)
tree260869ecc5e32cb54201d01c13ad33bc765a750a /include/modules.h
parent1efd289488ca16c895f833cded995d34b95daae1 (diff)
Add m_sql_log
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h8
1 files changed, 8 insertions, 0 deletions
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