[asterisk-commits] oej: trunk r91385 - /trunk/main/logger.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 6 08:29:20 CST 2007


Author: oej
Date: Thu Dec  6 08:29:20 2007
New Revision: 91385

URL: http://svn.digium.com/view/asterisk?view=rev&rev=91385
Log:
Doxygen updates

Modified:
    trunk/main/logger.c

Modified: trunk/main/logger.c
URL: http://svn.digium.com/view/asterisk/trunk/main/logger.c?view=diff&rev=91385&r1=91384&r2=91385
==============================================================================
--- trunk/main/logger.c (original)
+++ trunk/main/logger.c Thu Dec  6 08:29:20 2007
@@ -148,6 +148,7 @@
 static FILE *eventlog;
 static FILE *qlog;
 
+/*! \brief Logging channels used in the Asterisk logging system */
 static char *levels[] = {
 	"DEBUG",
 	"EVENT",
@@ -158,6 +159,7 @@
 	"DTMF"
 };
 
+/*! \brief Colors used in the console for logging */
 static int colors[] = {
 	COLOR_BRGREEN,
 	COLOR_BRBLUE,
@@ -754,7 +756,7 @@
         syslog(syslog_level_map[level], "%s", buf);
 }
 
-/* Print a normal log message to the channels */
+/*! \brief Print a normal log message to the channels */
 static void logger_print_normal(struct logmsg *logmsg)
 {
 	struct logchannel *chan = NULL;
@@ -840,7 +842,7 @@
 	return;
 }
 
-/* Print a verbose message to the verbosers */
+/*! \brief Print a verbose message to the verbosers */
 static void logger_print_verbose(struct logmsg *logmsg)
 {
 	struct verb *v = NULL;
@@ -854,7 +856,7 @@
 	return;
 }
 
-/* Actual logging thread */
+/*! \brief Actual logging thread */
 static void *logger_thread(void *data)
 {
 	struct logmsg *next = NULL, *msg = NULL;
@@ -1113,7 +1115,7 @@
                 char date[40];
                 char *datefmt;
 
-				tv = ast_tvnow();
+		tv = ast_tvnow();
                 ast_localtime(&tv, &tm, NULL);
                 ast_strftime(date, sizeof(date), dateformat, &tm);
                 datefmt = alloca(strlen(date) + 3 + strlen(fmt) + 1);




More information about the asterisk-commits mailing list