lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / stream.c
index f691d72b59dde909fadbca5713c82737538be8f8..ff7d1c83730a40c2a78d20837ab80f2f06524fbd 100644 (file)
@@ -21,8 +21,8 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "MSG-STREAM"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/MSG-STREAM"
+#include "lib/logging.h"
 
 #include "lib/assert-pre.h"
 #include "compat/compiler.h"
@@ -67,7 +67,8 @@ struct bt_message *create_stream_message(
                bt_message_type_string(type), stream, stream_class);
        message = g_new0(struct bt_message_stream, 1);
        if (!message) {
-               BT_LOGE_STR("Failed to allocate one stream message.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one stream message.");
                goto error;
        }
 
This page took 0.024723 seconds and 4 git commands to generate.