#include "config.h"

Macros | |
| #define | nfts_log(prio, fmt, args...) nft_sync_log(&nfts_inst, prio, fmt, ##args) |
Enumerations | |
| enum | nft_sync_logging_type { NFTS_LOG_T_FILE = 0, NFTS_LOG_T_SYSLOG } |
| enum | nft_sync_logging_prio { NFTS_LOG_DEBUG = 0, NFTS_LOG_INFO, NFTS_LOG_NOTICE, NFTS_LOG_ERROR, NFTS_LOG_FATAL, NFTS_LOG_MAX } |
Functions | |
| int | nft_sync_log_init (struct nft_sync_inst *inst) |
| void | nft_sync_log (struct nft_sync_inst *inst, int priority, const char *format,...) |
| void | nft_sync_log_fini (struct nft_sync_inst *inst) |
| #define nfts_log | ( | prio, | |
| fmt, | |||
| args... | |||
| ) | nft_sync_log(&nfts_inst, prio, fmt, ##args) |
Referenced by main(), and nft_sync_event_loop().
| void nft_sync_log | ( | struct nft_sync_inst * | inst, |
| int | priority, | ||
| const char * | format, | ||
| ... | |||
| ) |
References nft_sync_inst::color, nft_sync_inst::fd, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.
| void nft_sync_log_fini | ( | struct nft_sync_inst * | inst | ) |
References nft_sync_inst::fd, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.
Referenced by main().

| int nft_sync_log_init | ( | struct nft_sync_inst * | inst | ) |
References nft_sync_inst::fd, nft_sync_inst::filename, nft_sync_inst::log, NFTS_LOG_T_FILE, NFTS_LOG_T_SYSLOG, NULL, and nft_sync_inst::type.
Referenced by main().
