diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-05-20 03:52:27 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-05-20 03:52:27 +0000 |
commit | e65df4cc67a54c2a3a8557ee98fbbcfda2553ec6 (patch) | |
tree | 6dfccebfaff209fa01641f22d875fca9aaccb0fd /logger.c | |
parent | 77284bfaa69f9a1b45553ef81b4082167d0dd588 (diff) |
add a little comment to keep someone else from having the same misunderstanding I had :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'logger.c')
-rwxr-xr-x | logger.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -671,9 +671,15 @@ void ast_log(int level, const char *file, int line, const char *function, const va_list ap; + /* skip this message unless: + - option_verbose is greater than zero _or_ + - option_debug is greater than zero _or_ + - the message is of level LOG_DEBUG (which allows for 'level zero' LOG_DEBUG messages) + */ if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) { return; } + /* Ignore anything that never gets logged anywhere */ if (!(global_logmask & (1 << level))) return; |