mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
Improved tests logs (belle-sip debug log added)
This commit is contained in:
parent
165fe6ff45
commit
c76ff7e734
4 changed files with 4 additions and 7 deletions
Binary file not shown.
|
|
@ -29,8 +29,8 @@ passwd=secret
|
|||
realm="sip.example.org"
|
||||
|
||||
[proxy_0]
|
||||
reg_proxy=sip2.linphone.org;transport=tcp
|
||||
reg_route=sip2.linphone.org;transport=tcp
|
||||
reg_proxy=sip2.linphone.org
|
||||
reg_route=sip2.linphone.org
|
||||
reg_identity=sip:pauline@sip.example.org
|
||||
reg_expires=3600
|
||||
reg_sendregister=1
|
||||
|
|
|
|||
|
|
@ -59,11 +59,8 @@ void LinphoneTesterNative::run(Platform::String^ suiteName, Platform::String^ ca
|
|||
wcstombs(ccasename, wscasename.c_str(), sizeof(ccasename));
|
||||
|
||||
if (verbose) {
|
||||
ortp_set_log_level_mask(ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL);
|
||||
} else {
|
||||
ortp_set_log_level_mask(ORTP_ERROR|ORTP_FATAL);
|
||||
linphone_core_enable_logs_with_cb(LinphoneNativeOutputTraceHandler);
|
||||
}
|
||||
ortp_set_log_handler(LinphoneNativeOutputTraceHandler);
|
||||
CU_set_trace_handler(nativeOutputTraceHandler);
|
||||
|
||||
liblinphone_tester_run_tests(wssuitename == all ? 0 : csuitename, wscasename == all ? 0 : ccasename);
|
||||
|
|
|
|||
|
|
@ -850,7 +850,7 @@ typedef void * (*LinphoneWaitingCallback)(struct _LinphoneCore *lc, void *contex
|
|||
/* THE main API */
|
||||
|
||||
LINPHONE_PUBLIC void linphone_core_enable_logs(FILE *file);
|
||||
void linphone_core_enable_logs_with_cb(OrtpLogFunc logfunc);
|
||||
LINPHONE_PUBLIC void linphone_core_enable_logs_with_cb(OrtpLogFunc logfunc);
|
||||
void linphone_core_disable_logs(void);
|
||||
const char *linphone_core_get_version(void);
|
||||
const char *linphone_core_get_user_agent_name(void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue