Merge "logger: Bring back ability to turn debug on by source file"

pull/9/head
Joshua Colp 8 years ago committed by Gerrit Code Review
commit 323762abf3

@ -429,7 +429,9 @@ void ast_callid_strnprint(char *buffer, size_t buffer_size, ast_callid callid);
#define DEBUG_ATLEAST(level) \
(option_debug >= (level) \
|| (ast_opt_dbg_module && (int)ast_debug_get_by_module(AST_MODULE) >= (level)))
|| (ast_opt_dbg_module \
&& ((int)ast_debug_get_by_module(AST_MODULE) >= (level) \
|| (int)ast_debug_get_by_module(__FILE__) >= (level))))
/*!
* \brief Log a DEBUG message

Loading…
Cancel
Save