Commit bace2338 authored by Simon Morlat's avatar Simon Morlat

set callback before setting levels

parent 6dd6ea84
......@@ -1046,8 +1046,8 @@ void linphone_core_enable_logs(FILE *file){
}
void linphone_core_enable_logs_with_cb(OrtpLogFunc logfunc){
linphone_core_set_log_level(ORTP_MESSAGE);
linphone_core_set_log_handler(logfunc);
linphone_core_set_log_level(ORTP_MESSAGE);
}
void linphone_core_disable_logs(void){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment