// static LinphoneLogCollectionState old_collection_state; static int collect_init() { old_log_level = ortp_get_log_level_mask(); // old_collection_state = liblinphone_log_collection_enabled; // CU_ASSERT_FALSE("Fixme: // old_collection_state = liblinphone_log_collection_enabled;"); // if we want some logs, we must force them... even if user dont want to! linphone_core_set_log_level(ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); linphone_core_set_log_collection_path(liblinphone_tester_writable_dir_prefix); return 0; }
static void collect_init(void) { old_collection_state = linphone_core_log_collection_enabled(); linphone_core_set_log_collection_path(bc_tester_get_writable_dir_prefix()); }
static int collect_init() { old_collection_state = linphone_core_log_collection_enabled(); linphone_core_set_log_collection_path(liblinphone_tester_writable_dir_prefix); return 0; }