mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-27 21:36:21 +00:00
fix(logger): use bctbx log functions instead of ms functions
This commit is contained in:
parent
d70c38f9f5
commit
013c31bc6d
1 changed files with 6 additions and 6 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "linphone/core.h"
|
#include <bctoolbox/logging.h>
|
||||||
|
|
||||||
#include "object/base-object-p.h"
|
#include "object/base-object-p.h"
|
||||||
|
|
||||||
|
|
@ -53,20 +53,20 @@ Logger::~Logger () {
|
||||||
switch (d->level) {
|
switch (d->level) {
|
||||||
case Debug:
|
case Debug:
|
||||||
#if DEBUG_LOGS
|
#if DEBUG_LOGS
|
||||||
ms_debug("%s", str.c_str());
|
bctbx_debug("%s", str.c_str());
|
||||||
#endif // if DEBUG_LOGS
|
#endif // if DEBUG_LOGS
|
||||||
break;
|
break;
|
||||||
case Info:
|
case Info:
|
||||||
ms_message("%s", str.c_str());
|
bctbx_message("%s", str.c_str());
|
||||||
break;
|
break;
|
||||||
case Warning:
|
case Warning:
|
||||||
ms_warning("%s", str.c_str());
|
bctbx_warning("%s", str.c_str());
|
||||||
break;
|
break;
|
||||||
case Error:
|
case Error:
|
||||||
ms_error("%s", str.c_str());
|
bctbx_error("%s", str.c_str());
|
||||||
break;
|
break;
|
||||||
case Fatal:
|
case Fatal:
|
||||||
ms_fatal("%s", str.c_str());
|
bctbx_fatal("%s", str.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue