]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/log.c
Add Doxygen @file documentation to each source and header file
[ngircd.git] / src / ngircd / log.c
index f68a0fb9ec90caab217b1ecb9cac37936702af04..ea9b367a799ca4875b0560118e2a95a65cfa3a64 100644 (file)
@@ -7,13 +7,16 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * Logging functions
  */
 
 
 #include "portab.h"
 
+/**
+ * @file
+ * Logging functions
+ */
+
 #include "imp.h"
 #include <assert.h>
 #include <errno.h>
@@ -205,12 +208,6 @@ va_dcl
 
        Log_Message(Level, msg);
 
-       if (Level <= LOG_CRIT) {
-               /* log critical messages to stderr */
-               fprintf(stderr, "%s\n", msg);
-               fflush(stderr);
-       }
-
        if (snotice) {
                /* Send NOTICE to all local users with mode +s and to the
                 * local &SERVER channel */