GNUnet  0.11.x
Data Fields
LogDef Struct Reference

Represents a single logging definition. More...

Data Fields

regex_t component_regex
 Component name regex. More...
 
regex_t file_regex
 File name regex. More...
 
regex_t function_regex
 Function name regex. More...
 
int from_line
 Lowest line at which this definition matches. More...
 
int to_line
 Highest line at which this definition matches. More...
 
int level
 Maximal log level allowed for calls that match this definition. More...
 
int force
 1 if this definition comes from GNUNET_FORCE_LOG, which means that it overrides any configuration options. More...
 

Detailed Description

Represents a single logging definition.

Definition at line 170 of file common_logging.c.

Field Documentation

◆ component_regex

regex_t LogDef::component_regex

Component name regex.

Definition at line 175 of file common_logging.c.

Referenced by add_definition(), and GNUNET_get_log_call_status().

◆ file_regex

regex_t LogDef::file_regex

File name regex.

Definition at line 180 of file common_logging.c.

Referenced by add_definition(), and GNUNET_get_log_call_status().

◆ function_regex

regex_t LogDef::function_regex

Function name regex.

Definition at line 185 of file common_logging.c.

Referenced by add_definition(), and GNUNET_get_log_call_status().

◆ from_line

int LogDef::from_line

Lowest line at which this definition matches.

Defaults to 0. Must be <= to_line.

Definition at line 191 of file common_logging.c.

Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().

◆ to_line

int LogDef::to_line

Highest line at which this definition matches.

Defaults to INT_MAX. Must be >= from_line.

Definition at line 197 of file common_logging.c.

Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().

◆ level

int LogDef::level

Maximal log level allowed for calls that match this definition.

Calls with higher log level will be disabled. Must be >= 0

Definition at line 204 of file common_logging.c.

Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().

◆ force

int LogDef::force

1 if this definition comes from GNUNET_FORCE_LOG, which means that it overrides any configuration options.

0 otherwise.

Definition at line 210 of file common_logging.c.

Referenced by add_definition(), and GNUNET_get_log_call_status().


The documentation for this struct was generated from the following file: