#include <syslog.h>
#include "debug.h"
Include dependency graph for log.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | SYSLOG_OPTS LOG_CONS||LOG_PID |
| #define | LOG_TO_STD 1 |
| #define | LOG_TO_SYSLOG 2 |
| #define | debug_log_printf(area, priority, format,) |
Functions | |
| void | init_log_engine (const char *log_id) |
| void | log_printf (debug_level_t priority, char *format,...) |
| void | log_area_printf (debug_area_t area, debug_level_t priority, char *format,...) |
Variables | |
| int | log_engine |
| int | debug_level |
| int | debug_areas |
Some constants used in log, and function prototypes.
Definition in file log.h.
| #define debug_log_printf | ( | area, | |||
| priority, | |||||
| format | ) |
Call log_area_printf(area, priority, ...) if DEBUG_ENABLE is defined
Definition at line 74 of file log.h.
Referenced by auth_packet_to_decision(), auth_process_answer(), auth_request_send(), clean_old_packets(), and psearch_and_destroy().
| #define LOG_TO_STD 1 |
| #define LOG_TO_SYSLOG 2 |
Value of log_engine when using syslog()
Definition at line 41 of file log.h.
Referenced by do_log_area_printf(), init_log_engine(), and nufw_daemonize().
| #define SYSLOG_OPTS LOG_CONS||LOG_PID |
1.4.7