* SOFTWARE.
*/
-#define BT_LOG_TAG "MSG-STREAM-ACTIVITY"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/MSG-STREAM-ACTIVITY"
+#include "lib/logging.h"
#include "lib/assert-pre.h"
#include "lib/object.h"
bt_message_type_string(type), stream, stream_class);
message = g_new0(struct bt_message_stream_activity, 1);
if (!message) {
- BT_LOGE_STR("Failed to allocate one stream activity message.");
+ BT_LIB_LOGE_APPEND_CAUSE(
+ "Failed to allocate one stream activity message.");
goto error;
}
value_cycles);
stream_act_msg->default_cs_state =
BT_MESSAGE_STREAM_ACTIVITY_CLOCK_SNAPSHOT_STATE_KNOWN;
- BT_LIB_LOGV("Set stream activity message's default clock snapshot: "
+ BT_LIB_LOGD("Set stream activity message's default clock snapshot: "
"%![msg-]+n, value=%" PRIu64, msg, value_cycles);
}
msg,
bt_message_stream_activity_clock_snapshot_state_string(state));
stream_act_msg->default_cs_state = state;
- BT_LIB_LOGV("Set stream activity message's default clock snapshot state: "
+ BT_LIB_LOGD("Set stream activity message's default clock snapshot state: "
"%![msg-]+n, state=%s", msg,
bt_message_stream_activity_clock_snapshot_state_string(state));
}