Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
013c31bc
Commit
013c31bc
authored
Nov 15, 2017
by
Ronan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(logger): use bctbx log functions instead of ms functions
parent
d70c38f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/logger/logger.cpp
src/logger/logger.cpp
+6
-6
No files found.
src/logger/logger.cpp
View file @
013c31bc
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment