Define ANJ_LOG_FILTERING_CONFIG_HEADER

Define Documentation

ANJ_LOG_FILTERING_CONFIG_HEADER

Override log level for specific modules. This should be defined to path to header file with declarations in form: ANJ_LOG_LEVEL_FOR_MODULE_Module, where Module is the name of the module, in the same form as in anj_log() calls (stringifiable identifier).

// Enable trace logs for exchange module
#define ANJ_LOG_LEVEL_FOR_MODULE_exchange L_TRACE

// Disable logs for observe module
#define ANJ_LOG_LEVEL_FOR_MODULE_observe L_MUTED