diff options
Diffstat (limited to 'src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc')
-rw-r--r-- | src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc b/src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc index 41e77af5bd..abeb50e798 100644 --- a/src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc +++ b/src/components/transport_manager/src/bluetooth/bluetooth_transport_adapter.cc @@ -52,7 +52,7 @@ namespace transport_manager { namespace transport_adapter { -CREATE_LOGGERPTR_GLOBAL(logger_, "TransportManager") +SDL_CREATE_LOG_VARIABLE("TransportManager") BluetoothTransportAdapter::BluetoothTransportAdapter( resumption::LastStateWrapperPtr last_state_wrapper, @@ -69,7 +69,7 @@ DeviceType BluetoothTransportAdapter::GetDeviceType() const { } void BluetoothTransportAdapter::Store() const { - LOG4CXX_TRACE(logger_, "enter"); + SDL_LOG_TRACE("enter"); Json::Value bluetooth_adapter_dictionary; Json::Value devices_dictionary; DeviceList device_ids = GetDeviceList(); @@ -116,11 +116,11 @@ void BluetoothTransportAdapter::Store() const { dictionary["TransportManager"]["BluetoothAdapter"] = bluetooth_adapter_dictionary; accessor.GetMutableData().set_dictionary(dictionary); - LOG4CXX_TRACE(logger_, "exit"); + SDL_LOG_TRACE("exit"); } bool BluetoothTransportAdapter::Restore() { - LOG4CXX_TRACE(logger_, "enter"); + SDL_LOG_TRACE("enter"); bool errors_occured = false; resumption::LastStateAccessor accessor = last_state_wrapper_->get_accessor(); Json::Value dictionary = accessor.GetData().dictionary(); @@ -159,9 +159,9 @@ bool BluetoothTransportAdapter::Restore() { } bool result = !errors_occured; if (result) { - LOG4CXX_TRACE(logger_, "exit with TRUE"); + SDL_LOG_TRACE("exit with TRUE"); } else { - LOG4CXX_TRACE(logger_, "exit with FALSE"); + SDL_LOG_TRACE("exit with FALSE"); } return result; } |