]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/logger.cpp
fixed std:: stuff
[user/henk/code/inspircd.git] / src / logger.cpp
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
6  * See: http://www.inspircd.org/wiki/index.php/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 /* $Core: libIRCDlogger */
15
16 #include "inspircd.h"
17
18 /*
19  * Suggested implementation...
20  *      class LogManager
21  *              LogStream *AddLogType(const std::string &type)
22  *              LogStream *DelLogType(const std::string &type)
23  *              Log(LogStream *, enum loglevel, const std::string &msg)
24  *
25  *  class LogStream
26  *              std::string type
27  *              (void)(*)Callback(LogStream *, enum loglevel, const std::string &msg) <---- callback for modules to implement their own logstreams, core will just handle to file/channel(?)
28  *
29  * Feel free to elaborate on this further.
30  */