remove deprecate call to enable_logs_with_callbacks

This commit is contained in:
Benjamin Reis 2017-09-28 15:42:07 +02:00
parent 6993d8c9c2
commit fa5e44c9dc

View file

@ -61,7 +61,7 @@
stderrInUse = YES;
}
linphone_core_set_log_collection_path([self cacheDirectory].UTF8String);
linphone_core_enable_logs_with_cb(linphone_iphone_log_handler);
linphone_core_set_log_handler(linphone_iphone_log_handler);
linphone_core_enable_log_collection(enabled);
if (level == 0) {
linphone_core_set_log_level(ORTP_FATAL);