const char * const mi_lttng_loglevel_str_unknown;
const char * const mi_lttng_loglevel_str_warning;
+/* String related to loglevel JUL */
+const char * const mi_lttng_loglevel_str_jul_all;
+const char * const mi_lttng_loglevel_str_jul_config;
+const char * const mi_lttng_loglevel_str_jul_fine;
+const char * const mi_lttng_loglevel_str_jul_finer;
+const char * const mi_lttng_loglevel_str_jul_finest;
+const char * const mi_lttng_loglevel_str_jul_info;
+const char * const mi_lttng_loglevel_str_jul_off;
+const char * const mi_lttng_loglevel_str_jul_severe;
+const char * const mi_lttng_loglevel_str_jul_warning;
+
+/* String related to loglevel Log4j */
+const char * const mi_lttng_loglevel_str_log4j_off;
+const char * const mi_lttng_loglevel_str_log4j_fatal;
+const char * const mi_lttng_loglevel_str_log4j_error;
+const char * const mi_lttng_loglevel_str_log4j_warn;
+const char * const mi_lttng_loglevel_str_log4j_info;
+const char * const mi_lttng_loglevel_str_log4j_debug;
+const char * const mi_lttng_loglevel_str_log4j_trace;
+const char * const mi_lttng_loglevel_str_log4j_all;
+
+/* String related to loglevel Python */
+const char * const mi_lttng_loglevel_str_python_critical;
+const char * const mi_lttng_loglevel_str_python_error;
+const char * const mi_lttng_loglevel_str_python_warning;
+const char * const mi_lttng_loglevel_str_python_info;
+const char * const mi_lttng_loglevel_str_python_debug;
+const char * const mi_lttng_loglevel_str_python_notset;
+
/* String related to loglevel type */
const char * const mi_lttng_loglevel_type_all;
const char * const mi_lttng_loglevel_type_range;
const char * const mi_lttng_element_calibrate;
const char * const mi_lttng_element_calibrate_function;
-/* String related to a lttng_snashot */
+/* String related to a lttng_snapshot */
const char * const mi_lttng_element_snapshot_ctrl_url;
const char * const mi_lttng_element_snapshot_data_url;
const char * const mi_lttng_element_snapshot_max_size;
const char * const mi_lttng_element_snapshots;
/* Utility string function */
-const char *mi_lttng_loglevel_string(int value);
+const char *mi_lttng_loglevel_string(int value, enum lttng_domain_type domain);
const char *mi_lttng_logleveltype_string(enum lttng_loglevel_type value);
const char *mi_lttng_eventfieldtype_string(enum lttng_event_field_type value);
const char *mi_lttng_domaintype_string(enum lttng_domain_type value);
* is_open Defines whether or not the session element shall be closed.
* This should be used carefully and the client
* must close the session element.
- * Use case: nested addtionnal information on a session
+ * Use case: nested additional information on a session
* ex: domain,channel event.
*
* Returns zero if the element's value could be written.
*
* writer An instance of a mi writer.
* event single trace event.
+ * domain Event's domain
*
* Returns zero if the element's value could be written.
* Negative values indicate an error.
*/
int mi_lttng_event_tracepoint_loglevel(struct mi_writer *writer,
- struct lttng_event *event);
+ struct lttng_event *event, enum lttng_domain_type domain);
/*
* Machine interface for kernel tracepoint event with no loglevel.
* This should be used carefully and the client
* must close the event element.
* Use case: nested additional information
+ * domain Event's domain
*
* Returns zero if the element's value could be written.
* Negative values indicate an error.
*/
int mi_lttng_event(struct mi_writer *writer, struct lttng_event *event,
- int is_open);
+ int is_open, enum lttng_domain_type domain);
/*
* Machine interface for struct lttng_event_field.