diff options
author | Adam <Adam@anope.org> | 2013-08-07 16:44:35 +0000 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-08-07 16:44:35 +0000 |
commit | 4865a8cfff2fb2ab3acba89c5aabbb5f0db80743 (patch) | |
tree | 260869ecc5e32cb54201d01c13ad33bc765a750a /include/modules.h | |
parent | 1efd289488ca16c895f833cded995d34b95daae1 (diff) |
Add m_sql_log
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 8 |
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 |