#include <stddef.h>
#include <dpl/wrt-dao-ro/property_dao_read_only.h>
#include <dpl/wrt-dao-ro/widget_dao_read_only.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
#include <dpl/foreach.h>
#include <dpl/wrt-dao-ro/webruntime_database.h>
#include <dpl/wrt-dao-ro/WrtDatabase.h>
DPL::OptionalInt CheckPropertyReadFlag(TizenAppId tzAppid,
const WidgetPropertyKey &key)
{
- LogDebug("Checking Property flag. appid: " << tzAppid <<
- ", key: " << key);
+ WrtLogD("Checking Property flag. appid: %ls, key: %ls",
+ tzAppid.c_str(), key.c_str());
Try {
using namespace DPL::DB::ORM;
WidgetPropertyKeyList GetPropertyKeyList(TizenAppId tzAppid)
{
- LogDebug("Get PropertyKey list. appid: " << tzAppid);
+ WrtLogD("Get PropertyKey list. appid: %ls", tzAppid.c_str());
Try {
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::wrt;
WidgetPreferenceList GetPropertyList(TizenAppId tzAppId)
{
- LogDebug("Get Property list. tizenAppId: " << tzAppId);
+ WrtLogD("Get Property list. tizenAppId: %ls", tzAppId.c_str());
DbWidgetHandle widgetHandle(WidgetDAOReadOnly::getHandle(tzAppId));
return GetPropertyListRows(widgetHandle);
}
WidgetPropertyValue GetPropertyValue(TizenAppId tzAppid,
const WidgetPropertyKey &key)
{
- LogDebug("Get Property value. appid: " << tzAppid <<
- ", key: " << key);
+ WrtLogD("Get Property value. appid: %ls, key: %ls",
+ tzAppid.c_str(), key.c_str());
Try {
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::wrt;