mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +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 <memory>
|
||||
|
||||
#include "linphone/core.h"
|
||||
#include <bctoolbox/logging.h>
|
||||
|
||||
#include "object/base-object-p.h"
|
||||
|
||||
|
|
@ -53,20 +53,20 @@ Logger::~Logger () {
|
|||
switch (d->level) {
|
||||
case Debug:
|
||||
#if DEBUG_LOGS
|
||||
ms_debug("%s", str.c_str());
|
||||
bctbx_debug("%s", str.c_str());
|
||||
#endif // if DEBUG_LOGS
|
||||
break;
|
||||
case Info:
|
||||
ms_message("%s", str.c_str());
|
||||
bctbx_message("%s", str.c_str());
|
||||
break;
|
||||
case Warning:
|
||||
ms_warning("%s", str.c_str());
|
||||
bctbx_warning("%s", str.c_str());
|
||||
break;
|
||||
case Error:
|
||||
ms_error("%s", str.c_str());
|
||||
bctbx_error("%s", str.c_str());
|
||||
break;
|
||||
case Fatal:
|
||||
ms_fatal("%s", str.c_str());
|
||||
bctbx_fatal("%s", str.c_str());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue