aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 18:54:48 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-14 18:54:48 +0000
commit3838d4b2c6898c9f5160abf6f95df057fbaeb532 (patch)
tree146eed22bfe8d08cab8da0dfa31ae4a6fd0b4217 /include/asterisk
parent0fecfb254c5cfbd562870cf6d17e6925ccbdbeb7 (diff)
Changed VERBOSITY_LEVEL to VERBOSITY_ATLEAST to be more accurate.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93063 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 09c099f06..d76aa932f 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -154,10 +154,10 @@ unsigned int ast_verbose_get_by_file(const char *file);
ast_log(LOG_DEBUG, __VA_ARGS__); \
} while (0)
-#define VERBOSITY_LEVEL(level) (option_verbose >= (level) || (ast_opt_verb_file && ast_verbose_get_by_file(__FILE__) >= (level)))
+#define VERBOSITY_ATLEAST(level) (option_verbose >= (level) || (ast_opt_verb_file && ast_verbose_get_by_file(__FILE__) >= (level)))
#define ast_verb(level, ...) do { \
- if (VERBOSITY_LEVEL((level)) ) { \
+ if (VERBOSITY_ATLEAST((level)) ) { \
if (level >= 4) \
ast_verbose(VERBOSE_PREFIX_4 __VA_ARGS__); \
else if (level == 3) \