X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_logging.i;h=32c8a09f2d369e1dc47d1befba38b19dbfc39e06;hp=5867cacf8ace160846c7770fdb9ae60ae0e13a7c;hb=d24d56638469189904fb6ddbb3c725817b3e9417;hpb=15caa1ca4fac30bd196602bd136e48fda3892de2 diff --git a/src/bindings/python/bt2/bt2/native_bt_logging.i b/src/bindings/python/bt2/bt2/native_bt_logging.i index 5867cacf..32c8a09f 100644 --- a/src/bindings/python/bt2/bt2/native_bt_logging.i +++ b/src/bindings/python/bt2/bt2/native_bt_logging.i @@ -22,22 +22,4 @@ * THE SOFTWARE. */ -%{ -#include -%} - -/* Log levels */ -enum bt_logging_level { - BT_LOGGING_LEVEL_TRACE = 1, - BT_LOGGING_LEVEL_DEBUG = 2, - BT_LOGGING_LEVEL_INFO = 3, - BT_LOGGING_LEVEL_WARN = 4, - BT_LOGGING_LEVEL_ERROR = 5, - BT_LOGGING_LEVEL_FATAL = 6, - BT_LOGGING_LEVEL_NONE = 0xff, -}; - -/* Logging functions */ -enum bt_logging_level bt_logging_get_minimal_level(void); -enum bt_logging_level bt_logging_get_global_level(void); -void bt_logging_set_global_level(enum bt_logging_level log_level); +%include