bt2: add option field class and field support
[babeltrace.git] / src / lib / logging.c
index 64bd8ca9a3c1f4d394c9103bac0acc337146c965..0dd106def03665b88f78a3085039b1ed620da2cf 100644 (file)
@@ -21,8 +21,7 @@
  */
 
 #include <stdlib.h>
-#include <babeltrace2/logging.h>
-#include <babeltrace2/version.h>
+#include <babeltrace2/babeltrace.h>
 
 #define BT_LOG_TAG "LIB/LOGGING"
 #include "lib/logging.h"
@@ -43,7 +42,7 @@ int bt_lib_log_level = BT_LOG_NONE;
 
 enum bt_logging_level bt_logging_get_minimal_level(void)
 {
-       return BT_LOG_LEVEL;
+       return BT_MINIMAL_LOG_LEVEL;
 }
 
 enum bt_logging_level bt_logging_get_global_level(void)
This page took 0.027003 seconds and 4 git commands to generate.