summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-12-06 14:29:20 +0000
committerOlle Johansson <oej@edvina.net>2007-12-06 14:29:20 +0000
commit9f1c4887faa3046e9ecfdcf1072c0b6dd21bfc26 (patch)
tree6d0e8e06ea00d78ddccf237acc379cb3db7f43b4 /main
parent9dc965eadd8826f6e69327821c7d3214bf901bd5 (diff)
Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/logger.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/logger.c b/main/logger.c
index 00fbdaecd..eb7ceebc6 100644
--- a/main/logger.c
+++ b/main/logger.c
@@ -148,6 +148,7 @@ static int close_logger_thread;
static FILE *eventlog;
static FILE *qlog;
+/*! \brief Logging channels used in the Asterisk logging system */
static char *levels[] = {
"DEBUG",
"EVENT",
@@ -158,6 +159,7 @@ static char *levels[] = {
"DTMF"
};
+/*! \brief Colors used in the console for logging */
static int colors[] = {
COLOR_BRGREEN,
COLOR_BRBLUE,
@@ -754,7 +756,7 @@ static void ast_log_vsyslog(int level, const char *file, int line, const char *f
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 @@ static void logger_print_normal(struct logmsg *logmsg)
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 @@ static void logger_print_verbose(struct logmsg *logmsg)
return;
}
-/* Actual logging thread */
+/*! \brief Actual logging thread */
static void *logger_thread(void *data)
{
struct logmsg *next = NULL, *msg = NULL;
@@ -1113,7 +1115,7 @@ void ast_verbose(const char *fmt, ...)
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);