fixed logging bugs

This commit is contained in:
kidfromjupiter
2025-12-29 04:39:40 +00:00
parent 1bebcdd49a
commit 1f3da14906
@@ -22,7 +22,7 @@
#define DBUS_LOG_METHOD_CALL_ERROR(p, m, e) \
do { \
NEARBY_LOGS(ERROR) << __func__ << ": Got error '" << (e).getName() \
LOG(ERROR) << __func__ << ": Got error '" << (e).getName() \
<< "' with message '" << (e).getMessage() \
<< "' while calling " << (m) << " on object " \
<< (p)->getObjectPath(); \
@@ -30,7 +30,7 @@
#define DBUS_LOG_PROPERTY_GET_ERROR(p, prop, e) \
do { \
NEARBY_LOGS(ERROR) << __func__ << ": Got error '" << (e).getName() \
LOG(ERROR) << __func__ << ": Got error '" << (e).getName() \
<< "' with message '" << (e).getMessage() \
<< "' while getting property " << (prop) \
<< " on object " << (p)->getObjectPath(); \
@@ -38,7 +38,7 @@
#define DBUS_LOG_PROPERTY_SET_ERROR(p, prop, e) \
do { \
NEARBY_LOGS(ERROR) << __func__ << ": Got error '" << (e).getName() \
LOG(ERROR) << __func__ << ": Got error '" << (e).getName() \
<< "' with message '" << (e).getMessage() \
<< "' while setting property " << (prop) \
<< " on object " << (p)->getObjectPath(); \