summaryrefslogtreecommitdiff
path: root/src/components/transport_manager/src/cloud/cloud_device.cc
diff options
context:
space:
mode:
authorVladSemenyuk <VSemenyuk@luxoft.com>2020-09-01 20:35:06 +0300
committerGitHub <noreply@github.com>2020-09-01 13:35:06 -0400
commit062d3b0f2a6eb2185d14dc80a885cdfe4860ce23 (patch)
tree766c4725b8b129cec2d420ff65ae7e9731e91194 /src/components/transport_manager/src/cloud/cloud_device.cc
parent79fb6408810d776278bf3499c5273eb04159b076 (diff)
downloadsdl_core-062d3b0f2a6eb2185d14dc80a885cdfe4860ce23.tar.gz
[SDL 0046] Implement logger abstraction (#3472)
* Implement logger abstraction. Integrate it to SDL. Create one logger instance for shared libraries * Rename all logger macros. * Update src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * Fix review comments(errors in log messages) * Fix review coments * Fix code style * Add logger variable creation to new commads * Fix review comment * Fixe review comment(class imblemtation moved to .cc file) Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
Diffstat (limited to 'src/components/transport_manager/src/cloud/cloud_device.cc')
-rw-r--r--src/components/transport_manager/src/cloud/cloud_device.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/transport_manager/src/cloud/cloud_device.cc b/src/components/transport_manager/src/cloud/cloud_device.cc
index 9225589d57..06a8e66495 100644
--- a/src/components/transport_manager/src/cloud/cloud_device.cc
+++ b/src/components/transport_manager/src/cloud/cloud_device.cc
@@ -37,7 +37,7 @@
namespace transport_manager {
namespace transport_adapter {
-CREATE_LOGGERPTR_GLOBAL(logger_, "TransportManager")
+SDL_CREATE_LOG_VARIABLE("TransportManager")
CloudDevice::CloudDevice(std::string& host,
std::string& port,
@@ -53,7 +53,7 @@ CloudDevice::CloudDevice(CloudAppEndpoint& endpoint, std::string& name)
: Device(name, std::string(name)), endpoint_(endpoint) {}
bool CloudDevice::IsSameAs(const Device* other) const {
- LOG4CXX_TRACE(logger_, "enter. device: " << other);
+ SDL_LOG_TRACE("enter. device: " << other);
const CloudDevice* other_cloud_device =
dynamic_cast<const CloudDevice*>(other);