diff options
| author | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
| commit | d6e1b92059688c8b59df0eedccfb16781d193591 (patch) | |
| tree | e61ace0908bae241ea4cac18331a99b441981dad /include | |
| parent | bb5f4555dce8bdfa7124db87c72a084c9d9416a1 (diff) | |
Add a module log type
Diffstat (limited to 'include')
| -rw-r--r-- | include/logger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/logger.h b/include/logger.h index 9b3658e94..5df81a5bc 100644 --- a/include/logger.h +++ b/include/logger.h @@ -24,6 +24,7 @@ enum LogType LOG_SERVER, LOG_CHANNEL, LOG_USER, + LOG_MODULE, LOG_NORMAL, LOG_TERMINAL, LOG_RAWIO, @@ -56,6 +57,7 @@ class CoreExport Log Channel *chan; const ChannelInfo *ci; Server *s; + Module *m; LogType Type; Anope::string Category; std::list<Anope::string> Sources; @@ -78,6 +80,8 @@ class CoreExport Log explicit Log(const BotInfo *b, const Anope::string &category = ""); + Log(Module *m, const Anope::string &category = ""); + ~Log(); Anope::string BuildPrefix() const; |
