+/*
+ * Available loglevels for the LOG4j domain. Those are an exact map from the
+ * class org.apache.log4j.Level.
+ */
+enum lttng_loglevel_log4j {
+ LTTNG_LOGLEVEL_LOG4J_OFF = INT32_MAX,
+ LTTNG_LOGLEVEL_LOG4J_FATAL = 50000,
+ LTTNG_LOGLEVEL_LOG4J_ERROR = 40000,
+ LTTNG_LOGLEVEL_LOG4J_WARN = 30000,
+ LTTNG_LOGLEVEL_LOG4J_INFO = 20000,
+ LTTNG_LOGLEVEL_LOG4J_DEBUG = 10000,
+ LTTNG_LOGLEVEL_LOG4J_TRACE = 5000,
+ LTTNG_LOGLEVEL_LOG4J_ALL = INT32_MIN,
+};
+
+/*
+ * Available loglevels for the Python domain. Those are an exact map from the
+ * Level class.
+ */
+enum lttng_loglevel_python {
+ LTTNG_LOGLEVEL_PYTHON_CRITICAL = 50,
+ LTTNG_LOGLEVEL_PYTHON_ERROR = 40,
+ LTTNG_LOGLEVEL_PYTHON_WARNING = 30,
+ LTTNG_LOGLEVEL_PYTHON_INFO = 20,
+ LTTNG_LOGLEVEL_PYTHON_DEBUG = 10,
+ LTTNG_LOGLEVEL_PYTHON_NOTSET = 0,
+};
+