lib: rename `lib-logging.h` to `logging.h`
[babeltrace.git] / src / lib / trace-ir / event.h
index 8cd6419cf27380eff845f06cb0a4f29e0d455c75..b2f085a0ea3106cb2b7c378c7091edbb06ab6341 100644 (file)
@@ -25,8 +25,8 @@
  */
 
 /* Protection: this file uses BT_LIB_LOG*() macros directly */
-#ifndef BABELTRACE_LIB_LOGGING_INTERNAL_H
-# error Please include <lib/lib-logging.h> before including this file.
+#ifndef BT_LIB_LOG_SUPPORTED
+# error Please include "lib/logging.h" before including this file.
 #endif
 
 #include "lib/assert-pre.h"
@@ -174,7 +174,7 @@ void bt_event_set_packet(struct bt_event *event, struct bt_packet *packet)
        BT_ASSERT(!event->packet);
        event->packet = packet;
        bt_object_get_no_null_check_no_parent_check(&event->packet->base);
-       BT_LIB_LOGV("Set event's packet: %![event-]+e, %![packet-]+a",
+       BT_LIB_LOGD("Set event's packet: %![event-]+e, %![packet-]+a",
                event, packet);
 }
 
This page took 0.023744 seconds and 4 git commands to generate.