]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/logger.h
Switch <stdint.h> test to use a test file too.
[user/henk/code/inspircd.git] / include / logger.h
index 2a075431e9f3e162b7d1d0996b5acb4217a1e72a..0fa4bc7cd029ce7374b3548128c61276d767089f 100644 (file)
@@ -1,16 +1,23 @@
-/*       +------------------------------------+
- *       | Inspire Internet Relay Chat Daemon |
- *       +------------------------------------+
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *   Copyright (C) 2008 Thomas Stagner <aquanight@inspircd.org>
+ *   Copyright (C) 2008 Robin Burchell <robin+git@viroteck.net>
  *
- *  InspIRCd: (C) 2002-2010 InspIRCd Development Team
- * See: http://wiki.inspircd.org/Credits
+ * This file is part of InspIRCd.  InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
  *
- * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
  *
- * ---------------------------------------------------
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+
 #ifndef LOGGER_H
 #define LOGGER_H
 
@@ -153,7 +160,7 @@ class CoreExport LogManager
                }
        }
 
-       /** Opens all logfiles defined in the configuration file using <log method="file">.
+       /** Opens all logfiles defined in the configuration file using \<log method="file">.
         */
        void OpenFileLogs();
 
@@ -200,7 +207,7 @@ class CoreExport LogManager
        /** Logs an event, sending it to all LogStreams registered for the type.
         * @param type Log message type (ex: "USERINPUT", "MODULE", ...)
         * @param loglevel Log message level (DEBUG, VERBOSE, DEFAULT, SPARSE, NONE)
-        * @param msg The format of the message to be logged. See your C manual on printf() for details.
+        * @param fmt The format of the message to be logged. See your C manual on printf() for details.
         */
        void Log(const std::string &type, int loglevel, const char *fmt, ...) CUSTOM_PRINTF(4, 5);
 };