1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd: (C) 2002-2008 InspIRCd Development Team
6 * See: http://www.inspircd.org/wiki/index.php/Credits
8 * This program is free but copyrighted software; see
9 * the file COPYING for details.
11 * ---------------------------------------------------
19 /** Debug levels for use with InspIRCd::Log()
31 /* Forward declaration -- required */
34 /** A logging class which logs to a streamed file.
36 class CoreExport FileLogStream : public LogStream
41 FileLogStream(InspIRCd *Instance, int loglevel, FileWriter *fw);
43 virtual ~FileLogStream();
45 virtual void OnLog(int loglevel, const std::string &type, const std::string &msg);