mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-05 20:55:26 +00:00
Merge "logger: Bring back ability to turn debug on by source file" into 13
This commit is contained in:
@@ -447,7 +447,9 @@ void ast_callid_strnprint(char *buffer, size_t buffer_size, struct ast_callid *c
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user