*/
#define BT_LOG_TAG "LIB/EVENT"
-#include "lib/lib-logging.h"
+#include "lib/logging.h"
#include "lib/assert-pre.h"
#include <babeltrace2/trace-ir/event-const.h>
BT_ASSERT(event_class);
event = g_new0(struct bt_event, 1);
if (!event) {
- BT_LOGE_STR("Failed to allocate one event.");
+ BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate one event.");
goto error;
}