*/
#define BT_LOG_TAG "LIB/MSG-MSG-ITER-INACTIVITY"
-#include "lib/lib-logging.h"
+#include "lib/logging.h"
#include "lib/assert-pre.h"
#include "lib/object.h"
default_clock_class, value_cycles);
message = g_new0(struct bt_message_message_iterator_inactivity, 1);
if (!message) {
- BT_LOGE_STR("Failed to allocate one message iterator "
+ BT_LIB_LOGE_APPEND_CAUSE(
+ "Failed to allocate one message iterator "
"inactivity message.");
goto error;
}
{
struct bt_message_message_iterator_inactivity *inactivity = (void *) msg;
- BT_ASSERT_PRE_NON_NULL(msg, "Message");
- BT_ASSERT_PRE_MSG_IS_TYPE(msg, BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
+ BT_ASSERT_PRE_DEV_NON_NULL(msg, "Message");
+ BT_ASSERT_PRE_DEV_MSG_IS_TYPE(msg,
+ BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY);
return inactivity->default_cs;
}