void on_widget_start_callback(int widgetId)
{
- LogDebug("[Tizen\\Power] on_widget_start_callback (" << widgetId << ")");
+ LoggerD("[Tizen\\Power] on_widget_start_callback (" << widgetId << ")");
TIME_TRACER_INIT();
Try {
WrtAccessSingleton::Instance().initialize(widgetId);
} Catch (Exception) {
- LogError("WrtAccess initialization failed");
+ LoggerE("WrtAccess initialization failed");
}
}
void on_widget_stop_callback(int widgetId)
{
- LogDebug("[Tizen\\Power] on_widget_stop_callback (" << widgetId << ")");
+ LoggerD("[Tizen\\Power] on_widget_stop_callback (" << widgetId << ")");
TIME_TRACER_EXPORT_REPORT_TO(TIME_TRACER_EXPORT_FILE,"Power");
TIME_TRACER_RELEASE();
Try {
WrtAccessSingleton::Instance().deinitialize(widgetId);
} Catch (Exception) {
- LogError("WrtAccess deinitialization failed");
+ LoggerE("WrtAccess deinitialization failed");
}
}
void on_frame_load_callback(const void * context)
{
- LogDebug("[Tizen\\Power] on_frame_load_callback (" << context << ")");
+ LoggerD("[Tizen\\Power] on_frame_load_callback (" << context << ")");
GlobalContextManager::getInstance()->addGlobalContext(static_cast<JSContextRef>(context));
}
void on_frame_unload_callback(const void * context)
{
- LogDebug("[Tizen\\Power] on_frame_unload_callback (" << context << ")");
+ LoggerD("[Tizen\\Power] on_frame_unload_callback (" << context << ")");
GlobalContextManager::getInstance()->removeGlobalContext(static_cast<JSContextRef>(context));
}