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
|
||||
switch (log_level) {
|
||||
case VERBOSITY_NAME(FATAL):
|
||||
dlog_print(DLOG_ERROR, DLOG_TAG, slice.c_str());
|
||||
dlog_print(DLOG_ERROR, DLOG_TAG, "%s", slice.c_str());
|
||||
break;
|
||||
case VERBOSITY_NAME(ERROR):
|
||||
dlog_print(DLOG_ERROR, DLOG_TAG, slice.c_str());
|
||||
dlog_print(DLOG_ERROR, DLOG_TAG, "%s", slice.c_str());
|
||||
break;
|
||||
case VERBOSITY_NAME(WARNING):
|
||||
dlog_print(DLOG_WARN, DLOG_TAG, slice.c_str());
|
||||
dlog_print(DLOG_WARN, DLOG_TAG, "%s", slice.c_str());
|
||||
break;
|
||||
case VERBOSITY_NAME(INFO):
|
||||
dlog_print(DLOG_INFO, DLOG_TAG, slice.c_str());
|
||||
dlog_print(DLOG_INFO, DLOG_TAG, "%s", slice.c_str());
|
||||
break;
|
||||
default:
|
||||
dlog_print(DLOG_DEBUG, DLOG_TAG, slice.c_str());
|
||||
dlog_print(DLOG_DEBUG, DLOG_TAG, "%s", slice.c_str());
|
||||
break;
|
||||
}
|
||||
#elif TD_EMSCRIPTEN
|
||||
|
Loading…
Reference in New Issue
Block a user