From fa5e44c9dcf2dfa27959e48b912b203ab2811bb3 Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 28 Sep 2017 15:42:07 +0200 Subject: [PATCH] remove deprecate call to enable_logs_with_callbacks --- Classes/Utils/Log.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Utils/Log.m b/Classes/Utils/Log.m index 0441d51b5..791d46f92 100644 --- a/Classes/Utils/Log.m +++ b/Classes/Utils/Log.m @@ -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);