#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,