lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / message-iterator-inactivity.c
index 5e376381fcdbaa3c360a88c3e8318fb76ab40866..71afff63062d40d39a0a4050d8912a01eeb005b4 100644 (file)
@@ -20,8 +20,8 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "MSG-MESSAGE-ITERATOR-INACTIVITY"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/MSG-MSG-ITER-INACTIVITY"
+#include "lib/logging.h"
 
 #include "lib/assert-pre.h"
 #include "lib/object.h"
@@ -68,7 +68,8 @@ struct bt_message *bt_message_message_iterator_inactivity_create(
                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;
        }
This page took 0.023124 seconds and 4 git commands to generate.