Fix: bt_ctfser_write_float64(): use `double` in union, not `float`
[babeltrace.git] / src / lib / graph / message / stream-activity.c
index dc840bead0a8266490d42f28b2e54b451f6ec40a..d9ef3e6bf7796bbdb75076ff6397fd5bd7eb8f65 100644 (file)
@@ -20,8 +20,8 @@
  * 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"
@@ -72,7 +72,8 @@ struct bt_message *create_stream_activity_message(
                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;
        }
 
@@ -176,7 +177,7 @@ void set_stream_activity_message_default_clock_snapshot(
                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);
 }
 
@@ -246,7 +247,7 @@ void set_stream_activity_message_default_clock_snapshot_state(
                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));
 }
This page took 0.023611 seconds and 4 git commands to generate.