Fix dlog_print usage on Tizen.
This commit is contained in:
parent
c80b566c49
commit
0787c642ce
@ -203,19 +203,19 @@ class DefaultLog : public LogInterface {
|
|||||||
#elif TD_TIZEN
|
#elif TD_TIZEN
|
||||||
switch (log_level) {
|
switch (log_level) {
|
||||||
case VERBOSITY_NAME(FATAL):
|
case VERBOSITY_NAME(FATAL):
|
||||||
dlog_print(DLOG_ERROR, DLOG_TAG, slice.c_str());
|
dlog_print(DLOG_ERROR, DLOG_TAG, "%s", slice.c_str());
|
||||||
break;
|
break;
|
||||||
case VERBOSITY_NAME(ERROR):
|
case VERBOSITY_NAME(ERROR):
|
||||||
dlog_print(DLOG_ERROR, DLOG_TAG, slice.c_str());
|
dlog_print(DLOG_ERROR, DLOG_TAG, "%s", slice.c_str());
|
||||||
break;
|
break;
|
||||||
case VERBOSITY_NAME(WARNING):
|
case VERBOSITY_NAME(WARNING):
|
||||||
dlog_print(DLOG_WARN, DLOG_TAG, slice.c_str());
|
dlog_print(DLOG_WARN, DLOG_TAG, "%s", slice.c_str());
|
||||||
break;
|
break;
|
||||||
case VERBOSITY_NAME(INFO):
|
case VERBOSITY_NAME(INFO):
|
||||||
dlog_print(DLOG_INFO, DLOG_TAG, slice.c_str());
|
dlog_print(DLOG_INFO, DLOG_TAG, "%s", slice.c_str());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
dlog_print(DLOG_DEBUG, DLOG_TAG, slice.c_str());
|
dlog_print(DLOG_DEBUG, DLOG_TAG, "%s", slice.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#elif TD_EMSCRIPTEN
|
#elif TD_EMSCRIPTEN
|
||||||
|
Loading…
Reference in New Issue
Block a user