Commit 013c31bc authored by Ronan's avatar Ronan

fix(logger): use bctbx log functions instead of ms functions

parent d70c38f9
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment