aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-20 13:58:39 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-20 13:58:39 +0000
commitc862bed097b69d753183d2948212755dda02c98f (patch)
tree5b378acf9f4fed9894fdb4aac1eab6b70e060c12
parentdb6237478039e4a89db5a013ecf9a4c73e5b652b (diff)
clarify comments even more
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5749 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xlogger.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/logger.c b/logger.c
index 61395c1a9..bd7c258c4 100755
--- a/logger.c
+++ b/logger.c
@@ -671,11 +671,12 @@ 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)
- */
+ /* don't display LOG_DEBUG messages unless option_verbose _or_ option_debug
+ are non-zero; LOG_DEBUG messages can still be displayed if option_debug
+ is zero, if option_verbose is non-zero (this allows for 'level zero'
+ LOG_DEBUG messages to be displayed, if the logmask on any channel
+ allows it)
+ */
if (!option_verbose && !option_debug && (level == __LOG_DEBUG)) {
return;
}