summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc')
-rw-r--r--src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc
index 8ce4d10b6e..ff40b587cb 100644
--- a/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc
+++ b/src/components/application_manager/rpc_plugins/app_service_rpc_plugin/src/app_service_command_factory.cc
@@ -32,7 +32,7 @@
#include "app_service_rpc_plugin/app_service_command_factory.h"
-CREATE_LOGGERPTR_GLOBAL(logger_, "AppServiceRpcPlugin")
+SDL_CREATE_LOG_VARIABLE("AppServiceRpcPlugin")
namespace app_service_rpc_plugin {
@@ -45,11 +45,11 @@ AppServiceCommandFactory::AppServiceCommandFactory(
application_manager, rpc_service, hmi_capabilities, policy_handler))
, mobile_command_factory_(new AppServiceMobileCommandFactory(
application_manager, rpc_service, hmi_capabilities, policy_handler)) {
- LOG4CXX_AUTO_TRACE(logger_);
+ SDL_LOG_AUTO_TRACE();
}
AppServiceCommandFactory::~AppServiceCommandFactory() {
- LOG4CXX_AUTO_TRACE(logger_);
+ SDL_LOG_AUTO_TRACE();
}
app_mngr::CommandSharedPtr AppServiceCommandFactory::CreateCommand(
@@ -66,8 +66,7 @@ app_mngr::CommandSharedPtr AppServiceCommandFactory::CreateCommand(
bool AppServiceCommandFactory::IsAbleToProcess(
const int32_t function_id,
const commands::Command::CommandSource source) const {
- LOG4CXX_DEBUG(logger_,
- "AppServiceCommandFactory::IsAbleToProcess" << function_id
+ SDL_LOG_DEBUG("AppServiceCommandFactory::IsAbleToProcess" << function_id
<< " " << source);
return (commands::Command::SOURCE_HMI == source ||
commands::Command::SOURCE_SDL_TO_HMI == source)