summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index b66b34b8e..600f29242 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -15,3 +15,16 @@
#include "inspircd.h"
+/*
+ * Suggested implementation...
+ * class LogManager
+ * LogStream *AddLogType(const std::string &type)
+ * LogStream *DelLogType(const std::string &type)
+ * Log(LogStream *, enum loglevel, const std::string &msg)
+ *
+ * class LogStream
+ * std::string type
+ * (void)(*)Callback(LogStream *, enum loglevel, const std::string &msg) <---- callback for modules to implement their own logstreams, core will just handle to file/channel(?)
+ *
+ * Feel free to elaborate on this further.
+ */