lib: use BT_LIB_LOG*_APPEND_CAUSE() where appropriate
[babeltrace.git] / src / lib / graph / message / discarded-items.c
index 25836dc333cb85366764d012c0c490414a1da9f6..1658b55a9d829bd3978a0f3f3c14c0f2ce62d62c 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #define BT_LOG_TAG "LIB/MSG-DISCARDED-ITEMS"
-#include "lib/lib-logging.h"
+#include "lib/logging.h"
 
 #include "lib/assert-pre.h"
 #include "lib/object.h"
@@ -113,7 +113,8 @@ struct bt_message *create_discarded_items_message(
                with_cs, beginning_raw_value, end_raw_value);
        message = g_new0(struct bt_message_discarded_items, 1);
        if (!message) {
-               BT_LOGE_STR("Failed to allocate one discarded items message.");
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Failed to allocate one discarded items message.");
                goto error;
        }
 
This page took 0.023469 seconds and 4 git commands to generate.