From 433aa37a2d978270c8d752089f099b087fed8b41 Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Tue, 29 Aug 2023 14:00:18 +0530 Subject: [PATCH] Profile: Log profile object path after construction. --- .../platform/implementation/linux/bluetooth_bluez_profile.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/platform/implementation/linux/bluetooth_bluez_profile.h b/internal/platform/implementation/linux/bluetooth_bluez_profile.h index e6ea176c..a60003da 100644 --- a/internal/platform/implementation/linux/bluetooth_bluez_profile.h +++ b/internal/platform/implementation/linux/bluetooth_bluez_profile.h @@ -26,6 +26,7 @@ #include "internal/platform/implementation/linux/bluez.h" #include "internal/platform/implementation/linux/bluez_profile_glue.h" #include "internal/platform/implementation/linux/bluez_profile_manager_client_glue.h" +#include "internal/platform/logging.h" namespace nearby { namespace linux { @@ -36,6 +37,8 @@ public: : AdaptorInterfaces(system_bus, std::string(profile_object_path)), released_(false), devices_(devices) { registerAdaptor(); + NEARBY_LOGS(VERBOSE) << __func__ << ": Created a new BlueZ profile at :" + << getObjectPath(); } ~Profile() { unregisterAdaptor(); }