diff options
Diffstat (limited to 'common/debug.h')
-rw-r--r-- | common/debug.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/common/debug.h b/common/debug.h index f4fbb9ff1e..d1c89ebd9c 100644 --- a/common/debug.h +++ b/common/debug.h @@ -98,7 +98,7 @@ typedef List<DebugChannel> DebugChannelList; /** * Lists all engine specific debug channels. * - * @return returns a arry with all debug channels + * @return returns an array with all debug channels */ DebugChannelList listDebugChannels(); @@ -108,11 +108,6 @@ DebugChannelList listDebugChannels(); */ bool isDebugChannelEnabled(uint32 channel); -/** - * Test whether the given debug channel is enabled. - */ -bool isDebugChannelEnabled(const String &name); - /** * Set the output formatter used by debug() and related functions. @@ -145,7 +140,7 @@ void debug(const char *s, ...) GCC_PRINTF(1, 2); /** * Print a debug message to the text console (stdout), but only if - * the specified level does not exceed the value of gDebugLevel. + * the gDebugLevel equals at least the specified level. * As a rule of thumb, the more important the message, the lower the level. * Automatically appends a newline. */ @@ -153,7 +148,7 @@ void debug(int level, const char *s, ...) GCC_PRINTF(2, 3); /** * Print a debug message to the text console (stdout), but only if - * the specified level does not exceed the value of gDebugLevel. + * the gDebugLevel equals at least the specified level. * As a rule of thumb, the more important the message, the lower the level. * Does not append a newline. */ @@ -161,7 +156,7 @@ void debugN(int level, const char *s, ...) GCC_PRINTF(2, 3); /** * Print a debug message to the text console (stdout), but only if - * the specified level does not exceed the value of gDebugLevel AND + * the gDebugLevel equals at least the specified level AND * if the specified special debug level is active. * As a rule of thumb, the more important the message, the lower the level. * Automatically appends a newline. @@ -172,7 +167,7 @@ void debugC(int level, uint32 debugChannels, const char *s, ...) GCC_PRINTF(3, 4 /** * Print a debug message to the text console (stdout), but only if - * the specified level does not exceed the value of gDebugLevel AND + * the gDebugLevel equals at least the specified level AND * if the specified special debug level is active. * As a rule of thumb, the more important the message, the lower the level. * Does not append a newline automatically. |