lib: add comment about why `bt_lib_log_level` is exported
[babeltrace.git] / src / lib / logging.c
index fa782b44b850851d3df39bc41088ceba17d6d190..8f3160b5ffa635abaad5a78b4a2dbeb576eb0483 100644 (file)
 # define DEFAULT_LOG_LEVEL     BT_LOG_NONE
 #endif /* BT_DEV_MODE */
 
+/*
+ * This is exported because even though the Python plugin provider is a
+ * different shared object for packaging purposes, it's still considered
+ * part of the library and therefore needs the library's run-time log
+ * level.
+ */
 int bt_lib_log_level = DEFAULT_LOG_LEVEL;
 
 enum bt_logging_level bt_logging_get_minimal_level(void)
This page took 0.024227 seconds and 4 git commands to generate.