void JSBluetoothClassDeviceService::initialize(JSContextRef context, JSObjectRef object)
{
- LogDebug("Enter"); // do nothing
+ LoggerD("Enter"); // do nothing
}
void JSBluetoothClassDeviceService::finalize(JSObjectRef object)
{
- LogDebug("Enter"); // do nothing
+ LoggerD("Enter"); // do nothing
}
JSValueRef JSBluetoothClassDeviceService::getProperty(JSContextRef context,
std::string name = JSUtil::JSStringToString(context, propertyName);
return JSUtil::toJSValueRef(context, BluetoothClassDeviceService::getInstance()->getServiceValue(name));
} catch (const BasePlatformException &err) {
- LogWarning("Getting property is failed: " << err.getMessage().c_str());
+ LoggerW("Getting property is failed: " << err.getMessage().c_str());
}
return NULL;