mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 03:20:06 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1149 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d6d313884e
commit
a2732737b5
@ -156,9 +156,12 @@ static switch_status load_config(void);
|
|||||||
static void dl_logger(char *file, const char *func, int line, int level, char *fmt, ...)
|
static void dl_logger(char *file, const char *func, int line, int level, char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
char data[1024];
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
|
|
||||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_DEBUG, ap);
|
vsnprintf(data, sizeof(data), fmt, ap);
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, SWITCH_LOG_DEBUG, data);
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user