提交 0191360b authored 作者: Anthony Minessale's avatar Anthony Minessale

show doc

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2592 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7142a03c
......@@ -61,6 +61,7 @@ package fs_perl;
*fs_channel_get_variable = *fs_perlc::fs_channel_get_variable;
*fs_channel_set_state = *fs_perlc::fs_channel_set_state;
*fs_ivr_play_file = *fs_perlc::fs_ivr_play_file;
*fs_ivr_play_file2 = *fs_perlc::fs_ivr_play_file2;
# ------- VARIABLE STUBS --------
......
......@@ -55,9 +55,15 @@ int fs_console_loop(void)
return 0;
}
void fs_console_log(char *msg)
void fs_console_log(char *level_str, char *msg)
{
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, msg);
switch_log_level_t level = SWITCH_LOG_DEBUG;
if (level_str) {
level = switch_log_str2level(level_str);
}
switch_log_printf(SWITCH_CHANNEL_LOG, level, msg);
}
void fs_console_clean(char *msg)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论