Represents a single logging definition. More...
Data Fields | |
| regex_t | component_regex |
| Component name regex. | |
| regex_t | file_regex |
| File name regex. | |
| regex_t | function_regex |
| Function name regex. | |
| int | from_line |
| Lowest line at which this definition matches. | |
| int | to_line |
| Highest line at which this definition matches. | |
| int | level |
| Maximal log level allowed for calls that match this definition. | |
| int | force |
| 1 if this definition comes from GNUNET_FORCE_LOG, which means that it overrides any configuration options. | |
Represents a single logging definition.
Definition at line 169 of file common_logging.c.
| regex_t LogDef::component_regex |
Component name regex.
Definition at line 174 of file common_logging.c.
Referenced by add_definition(), and GNUNET_get_log_call_status().
| regex_t LogDef::file_regex |
File name regex.
Definition at line 179 of file common_logging.c.
Referenced by add_definition(), and GNUNET_get_log_call_status().
| regex_t LogDef::function_regex |
Function name regex.
Definition at line 184 of file common_logging.c.
Referenced by add_definition(), and GNUNET_get_log_call_status().
| int LogDef::from_line |
Lowest line at which this definition matches.
Defaults to 0. Must be <= to_line.
Definition at line 190 of file common_logging.c.
Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().
| int LogDef::to_line |
Highest line at which this definition matches.
Defaults to INT_MAX. Must be >= from_line.
Definition at line 196 of file common_logging.c.
Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().
| 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 203 of file common_logging.c.
Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().
| 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 209 of file common_logging.c.
Referenced by add_definition(), GNUNET_get_log_call_status(), and parse_definitions().