diff options
author | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
commit | 16ca76c2e7ab287e480185fbb03a0bb438351eda (patch) | |
tree | dfb25534afa2352b65b2ee707086cb5eecc96fbb /include/event.h | |
parent | ff030c1eb7c3764f9add2a689479e84d616cabcb (diff) |
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'include/event.h')
-rw-r--r-- | include/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event.h b/include/event.h index fcc292aea..85e406795 100644 --- a/include/event.h +++ b/include/event.h @@ -1074,7 +1074,7 @@ namespace Event /** Called when a message is logged * @param l The log message */ - virtual void OnLog(::Log *l) anope_abstract; + virtual void OnLog(Logger *l) anope_abstract; }; struct CoreExport LogMessage : Events @@ -1089,7 +1089,7 @@ namespace Event * @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) anope_abstract; + virtual void OnLogMessage(LogInfo *li, const Logger *l, const Anope::string &msg) anope_abstract; }; struct CoreExport CheckModes : Events |