summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/commands/mobile/get_dtcs_request.cc')
-rw-r--r--src/components/application_manager/src/commands/mobile/get_dtcs_request.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc b/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
index 80bc89f853..9bad9ca669 100644
--- a/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
+++ b/src/components/application_manager/src/commands/mobile/get_dtcs_request.cc
@@ -32,7 +32,6 @@
*/
#include "application_manager/commands/mobile/get_dtcs_request.h"
-
#include "application_manager/application_impl.h"
#include "interfaces/HMI_API.h"
@@ -47,13 +46,13 @@ GetDTCsRequest::GetDTCsRequest(const MessageSharedPtr& message,
GetDTCsRequest::~GetDTCsRequest() {}
void GetDTCsRequest::Run() {
- LOG4CXX_AUTO_TRACE(logger_);
+ LOGGER_AUTO_TRACE(logger_);
ApplicationSharedPtr app = application_manager_.application(
(*message_)[strings::params][strings::connection_key].asUInt());
if (!app) {
- LOG4CXX_ERROR(logger_, "NULL pointer");
+ LOGGER_ERROR(logger_, "NULL pointer");
SendResponse(false, mobile_apis::Result::APPLICATION_NOT_REGISTERED);
return;
}
@@ -75,7 +74,7 @@ void GetDTCsRequest::Run() {
}
void GetDTCsRequest::on_event(const event_engine::Event& event) {
- LOG4CXX_AUTO_TRACE(logger_);
+ LOGGER_AUTO_TRACE(logger_);
const smart_objects::SmartObject& message = event.smart_object();
switch (event.id()) {
@@ -90,7 +89,7 @@ void GetDTCsRequest::on_event(const event_engine::Event& event) {
break;
}
default: {
- LOG4CXX_ERROR(logger_, "Received unknown event" << event.id());
+ LOGGER_ERROR(logger_, "Received unknown event" << event.id());
return;
}
}