8#ifndef LTTNG_EVENT_RULE_LOG4J2_LOGGING_H
9#define LTTNG_EVENT_RULE_LOG4J2_LOGGING_H
11#include <lttng/event-rule/event-rule.h>
12#include <lttng/event.h>
13#include <lttng/log-level-rule.h>
14#include <lttng/lttng-export.h>
132 const char **pattern);
207 const char **filter_expr);
lttng_event_rule_status
Return type of event rule API functions.
Definition event-rule.h:75
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_get_log_level_rule(const struct lttng_event_rule *event_rule, const struct lttng_log_level_rule **log_level_rule)
Sets *log_level_rule to the instrumentation point log level rule of the Apache Log4j 2 event rule e...
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_get_name_pattern(const struct lttng_event_rule *rule, const char **pattern)
Sets *pattern to the event name pattern of the Apache Log4j 2 event rule rule.
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_set_log_level_rule(struct lttng_event_rule *event_rule, const struct lttng_log_level_rule *log_level_rule)
Sets the instrumentation point log level rule of the Apache Log4j 2 event rule event_rule to log_le...
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_get_filter(const struct lttng_event_rule *rule, const char **filter_expr)
Sets *filter_expr to the event payload and context filter expression of the Apache Log4j 2 event ru...
struct lttng_event_rule * lttng_event_rule_log4j2_logging_create(void)
Creates a default Apache Log4j 2 event rule.
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_set_name_pattern(struct lttng_event_rule *rule, const char *pattern)
Sets the event name pattern of the Apache Log4j 2 event rule rule to pattern.
enum lttng_event_rule_status lttng_event_rule_log4j2_logging_set_filter(struct lttng_event_rule *rule, const char *filter_expr)
Sets the event payload and context filter of the Apache Log4j 2 event rule rule to filter_expr.
Event rule (opaque type).
Log level rule (opaque type).