mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
logs: turn on application debug logs only in true debug
This commit is contained in:
parent
983067d718
commit
6d30048c49
2 changed files with 2 additions and 2 deletions
|
|
@ -660,7 +660,7 @@ static void hideSpinner(LinphoneCall *call, void *user_data) {
|
|||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
[UIView animateWithDuration:0.3
|
||||
animations:^{
|
||||
LOGI(@"Recentering preview to %@", NSStringFromCGRect(previewFrame));
|
||||
LOGD(@"Recentering preview to %@", NSStringFromCGRect(previewFrame));
|
||||
_videoPreview.frame = previewFrame;
|
||||
}];
|
||||
});
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
} else {
|
||||
NSLog(@"I/%s/Enabling %s logs", ORTP_LOG_DOMAIN, (enabled ? "all" : "application only"));
|
||||
linphone_core_set_log_level(level);
|
||||
ortp_set_log_level("ios", ORTP_DEBUG);
|
||||
ortp_set_log_level("ios", level == ORTP_DEBUG ? ORTP_DEBUG : ORTP_MESSAGE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue