diff options
author | Adam <Adam@anope.org> | 2011-09-03 01:10:12 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 02:06:29 -0400 |
commit | 1478b5bbd7ecc99c3ceefc0396845ebb0608d331 (patch) | |
tree | 24783150322c7774643e22f4b3074764dab0736e /include/logger.h | |
parent | 19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (diff) |
Added chanserv/log
Diffstat (limited to 'include/logger.h')
-rw-r--r-- | include/logger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/logger.h b/include/logger.h index 423e096d3..5f611b277 100644 --- a/include/logger.h +++ b/include/logger.h @@ -35,6 +35,11 @@ class CoreExport Log { public: BotInfo *bi; + User *u; + Command *c; + Channel *chan; + ChannelInfo *ci; + Server *s; LogType Type; Anope::string Category; std::list<Anope::string> Sources; @@ -59,6 +64,8 @@ class CoreExport Log ~Log(); + Anope::string BuildPrefix() const; + template<typename T> Log &operator<<(T val) { this->buf << val; |