lib: strictly type function return status enumerations
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt_logging.i
index 5867cacf8ace160846c7770fdb9ae60ae0e13a7c..32c8a09f2d369e1dc47d1befba38b19dbfc39e06 100644 (file)
  * THE SOFTWARE.
  */
 
-%{
-#include <babeltrace2/logging.h>
-%}
-
-/* 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 <babeltrace2/logging.h>
This page took 0.024423 seconds and 4 git commands to generate.