mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
clarify comments even more
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
11
logger.c
11
logger.c
@@ -671,11 +671,12 @@ void ast_log(int level, const char *file, int line, const char *function, const
|
|||||||
|
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
/* skip this message unless:
|
/* don't display LOG_DEBUG messages unless option_verbose _or_ option_debug
|
||||||
- option_verbose is greater than zero _or_
|
are non-zero; LOG_DEBUG messages can still be displayed if option_debug
|
||||||
- option_debug is greater than zero _or_
|
is zero, if option_verbose is non-zero (this allows for 'level zero'
|
||||||
- the message is of level LOG_DEBUG (which allows for 'level zero' LOG_DEBUG messages)
|
LOG_DEBUG messages to be displayed, if the logmask on any channel
|
||||||
*/
|
allows it)
|
||||||
|
*/
|
||||||
if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) {
|
if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user