Skip to content
Snippets Groups Projects
Commit 323762ab authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

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

parents 5307659e d1de7948
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment