#include <jnx/logging.h>
Go to the source code of this file.
Defines | |
#define | LOG(_level, _fmt...) logging((_level), "MONITUBE-DATA: " _fmt) |
#define | INSIST_ERR(c) |
These functions / macros are for logging in this component
Definition in file monitube-data_logging.h.
#define INSIST_ERR | ( | c | ) |
Value:
if (!(c)) \ logging(LOG_EMERG, "MONITUBE-DATA: %s:%d: insist '%s' failed!", \ __FILE__, __LINE__, #c); else (void)NULL
Definition at line 37 of file monitube-data_logging.h.
Referenced by add_address(), add_flow_state(), aging_cleanup(), clean_flows_in_monitored_prefix(), clean_flows_with_any_mirror(), clean_flows_with_any_monitor(), clean_flows_with_mirror(), clean_flows_with_monitor(), clear_mirrors_configuration(), close_connections(), delete_address(), delete_all_addresses(), delete_mirror(), delete_replication_entry(), get_mirror(), get_monitored_rate(), get_next_flow_state(), mgmt_client_connection(), mgmt_client_message(), monitube_process_packet(), notify_stat_update(), process_fragment(), process_packet(), redirect_flows_with_mirror(), remove_flow_state(), TAILQ_HEAD(), update_mirror(), and update_replication_entry().
#define LOG | ( | _level, | |||
_fmt... | ) | logging((_level), "MONITUBE-DATA: " _fmt) |
Define a logging macro which prefixes a log tag like on the RE
Definition at line 31 of file monitube-data_logging.h.
Referenced by add_address(), add_flow_state(), clear_mirrors_configuration(), clear_monitors_configuration(), connect_mgmt(), delete_address(), delete_all_addresses(), delete_mirror(), delete_monitor(), delete_replication_entry(), get_monitored_rate(), init_application(), init_config(), init_connections(), init_forwarding_database(), init_packet_loops(), init_replication(), mgmt_client_connection(), mgmt_client_message(), monitube_init(), monitube_process_packet(), monitube_quit(), process_fragment(), process_notifications(), process_packet(), redirect_flows_with_mirror(), remove_flow_state(), retry_attach_fdb(), send_packet(), TAILQ_HEAD(), update_mirror(), update_monitor(), update_replication_entry(), and update_stats_for_flow().