struct log_entity_filter

Overview

Entity filter More…

#include <log_msg_filter.h>

struct log_entity_filter {
    // fields

    te_log_level level;
    char* name;
    pcre* regex;

    // methods

    SLIST_ENTRY(log_entity_filter);
    SLIST_HEAD(log_user_filter);
};

Detailed Documentation

Entity filter

Fields

te_log_level level

Bitmask for allowed log levels

char* name

Entity name or PCRE pattern

pcre* regex

Compiled PCRE or NULL

Methods

SLIST_ENTRY(log_entity_filter)

Pointer to the next rule

SLIST_HEAD(log_user_filter)

List of user filters