diff options
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; |
