#include <jnx/logging.h>
Go to the source code of this file.
Defines | |
#define | LOG(_level, _fmt...) logging((_level), "CPD: " _fmt) |
#define | INSIST_ERR(c) |
These functions / macros are for logging in this component
Definition in file cpd_logging.h.
#define INSIST_ERR | ( | c | ) |
Value:
if (!(c)) \ logging(LOG_EMERG, "CPD: %s:%d: insist '%s' failed!", \ __FILE__, __LINE__, #c); else (void)NULL
Definition at line 37 of file cpd_logging.h.
Referenced by client_connection(), client_message(), receive_connection(), and receive_message().
#define LOG | ( | _level, | |||
_fmt... | ) | logging((_level), "CPD: " _fmt) |
Define a logging macro which prefixes a log tag like on the RE
Definition at line 31 of file cpd_logging.h.
Referenced by add_auth_user_addr(), authorize_access(), check_access(), clear_config(), client_connection(), client_message(), connect_ped(), cpd_ctrl_quit(), cpd_kcom_init(), delete_auth_user_addr(), ifa_async_handler(), ifl_iterator(), init_connections(), init_http_server(), page_not_found(), receive_connection(), receive_message(), register_content(), repudiate_access(), run_http_server(), send_authorized_user(), send_repudiated_user(), and shutdown_http_server().