mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fix belle-sip logs (restore code that was erased by merge).
This commit is contained in:
parent
7460446211
commit
71a7738d39
1 changed files with 5 additions and 0 deletions
|
|
@ -424,6 +424,11 @@ void linphone_core_set_log_file(FILE *file) {
|
|||
|
||||
void linphone_core_set_log_level(OrtpLogLevel loglevel) {
|
||||
ortp_set_log_level_mask(loglevel);
|
||||
if (loglevel == 0) {
|
||||
sal_disable_logs();
|
||||
} else {
|
||||
sal_enable_logs();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue