}
void ResumeCtrl::SaveAllApplications() {
- LOG4CXX_INFO(logger_, " ResumeCtrl::SaveApplications()");
+ LOG4CXX_INFO(logger_, "ResumeCtrl::SaveApplications()");
DCHECK(app_mngr_);
std::set<ApplicationSharedPtr>::iterator it =
}
void ResumeCtrl::SaveApplication(ApplicationConstSharedPtr application) {
- LOG4CXX_INFO(logger_, " ResumeCtrl::SaveApplication");
+ LOG4CXX_INFO(logger_, "ResumeCtrl::SaveApplication");
DCHECK(application.get());
Json::Value* json_app = NULL;
it != GetSavedApplications().end(); ++it) {
if ((*it)[strings::app_id].asString() == m_app_id) {
json_app = &(*it);
- LOG4CXX_INFO(logger_, "ResumeCtrl Application with this id"
- "is already exist ( update info ) " << m_app_id);
+ LOG4CXX_INFO(logger_, "ResumeCtrl Application with this id "
+ "already exist ( update info ). mobile app_id = "
+ << m_app_id);
break;
}
}
if (json_app == NULL) {
LOG4CXX_INFO(logger_, "ResumeCtrl Application with this ID does not"
- "exist. Add new" << m_app_id);
+ "exist. Add new. mobile app_id = " << m_app_id);
json_app = &(GetSavedApplications().append(Json::Value()));
}
uint32_t hash = application->curHash();
- LOG4CXX_INFO(logger_, " Hash = " << hash);
+ LOG4CXX_INFO(logger_, "Hash = " << hash);
uint32_t connection_key = application->app_id();
(*json_app)[strings::app_id] = m_app_id;
(*json_app)[strings::connection_key] = connection_key;
}
}
if (it == GetSavedApplications().end()) {
- LOG4CXX_WARN(logger_,"Application not saved");
+ LOG4CXX_WARN(logger_, "Application not saved");
return false;
}
}
}
if (it == GetSavedApplications().end()) {
- LOG4CXX_WARN(logger_,"Application not saved");
+ LOG4CXX_WARN(logger_, "Application not saved");
return false;
}
mobile_apis::Result::eType verification_result =
MessageHelper::VerifyImageFiles(message, application);
if (verification_result == mobile_apis::Result::INVALID_DATA) {
- LOG4CXX_WARN(logger_,"app_commands missed icons");
+ LOG4CXX_WARN(logger_, "app_commands missed icons");
return false;
}
}
mobile_apis::Result::eType verification_result =
MessageHelper::VerifyImageFiles(msg_param, application);
if (verification_result == mobile_apis::Result::INVALID_DATA) {
- LOG4CXX_WARN(logger_,"app_choise_sets missed icons");
+ LOG4CXX_WARN(logger_, "app_choise_sets missed icons");
return false;
}
}