lib: rename `lib-logging.h` to `logging.h`
[babeltrace.git] / src / lib / plugin / plugin.h
index d62bfb55f0812de59d7575c7f172908ef7cf2cf1..ed2fc4a75cd4702fe2398249063f6a1b9c339c86 100644 (file)
 #include "lib/object.h"
 #include <babeltrace2/types.h>
 #include "common/assert.h"
-#include "lib/lib-logging.h"
 #include <glib.h>
 
 #include "plugin-so.h"
 
+/* Protection: this file uses BT_LIB_LOG*() macros directly */
+#ifndef BT_LIB_LOG_SUPPORTED
+# error Please include "lib/logging.h" before including this file.
+#endif
+
 enum bt_plugin_type {
        BT_PLUGIN_TYPE_SO = 0,
        BT_PLUGIN_TYPE_PYTHON = 1,
This page took 0.027145 seconds and 4 git commands to generate.