lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / stream-activity.c
index dd8bd7e57b7dade1aefc928ec1cfd42970db907c..d9ef3e6bf7796bbdb75076ff6397fd5bd7eb8f65 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #define BT_LOG_TAG "LIB/MSG-STREAM-ACTIVITY"
-#include "lib/lib-logging.h"
+#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;
        }
 
This page took 0.025648 seconds and 4 git commands to generate.