summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc
index 4ca2cf5182..e2b67effee 100644
--- a/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc
+++ b/src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/rc_command_factory.cc
@@ -62,7 +62,7 @@
#include "rc_rpc_plugin/interior_data_cache.h"
#include "rc_rpc_plugin/resource_allocation_manager.h"
-CREATE_LOGGERPTR_GLOBAL(logger_, "RemoteControlModule")
+SDL_CREATE_LOG_VARIABLE("RemoteControlModule")
namespace application_manager {
using rc_rpc_plugin::InteriorDataCache;
using rc_rpc_plugin::RCCommandParams;
@@ -113,7 +113,7 @@ struct RCCommandCreatorFactory {
template <typename RCCommandType>
CommandCreator& GetCreator() {
- LOG4CXX_AUTO_TRACE(logger_);
+ SDL_LOG_AUTO_TRACE();
static RCCommandCreator<RCCommandType> res(params_);
return res;
}
@@ -178,9 +178,8 @@ bool RCCommandFactory::IsAbleToProcess(
CommandCreator& RCCommandFactory::get_mobile_command_creator(
const mobile_apis::FunctionID::eType id,
const mobile_apis::messageType::eType message_type) const {
- LOG4CXX_DEBUG(logger_,
- "get_mobile_command_creator function_id: "
- << id << " message_type: " << message_type);
+ SDL_LOG_DEBUG("get_mobile_command_creator function_id: "
+ << id << " message_type: " << message_type);
RCCommandCreatorFactory rc_factory(params_);
switch (id) {
case mobile_apis::FunctionID::ButtonPressID: {
@@ -266,8 +265,7 @@ CommandCreator& RCCommandFactory::get_mobile_creator_factory(
CommandCreator& RCCommandFactory::get_hmi_creator_factory(
const hmi_apis::FunctionID::eType id,
const hmi_apis::messageType::eType message_type) const {
- LOG4CXX_DEBUG(logger_,
- "CreateHMICommand function_id: " << id << " message_type: "
+ SDL_LOG_DEBUG("CreateHMICommand function_id: " << id << " message_type: "
<< message_type);
RCCommandCreatorFactory rc_factory(params_);