[Scummvm-cvs-logs] SF.net SVN: scummvm:[41076] scummvm/trunk/common/debug.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun May 31 18:02:13 CEST 2009
Revision: 41076
http://scummvm.svn.sourceforge.net/scummvm/?rev=41076&view=rev
Author: thebluegr
Date: 2009-05-31 16:02:10 +0000 (Sun, 31 May 2009)
Log Message:
-----------
Document that debug level 11 turns on all special debug level messages (refer to rev. #28858)
Modified Paths:
--------------
scummvm/trunk/common/debug.cpp
Modified: scummvm/trunk/common/debug.cpp
===================================================================
--- scummvm/trunk/common/debug.cpp 2009-05-31 15:43:51 UTC (rev 41075)
+++ scummvm/trunk/common/debug.cpp 2009-05-31 16:02:10 UTC (rev 41076)
@@ -122,7 +122,7 @@
}
bool isDebugChannelEnabled(uint32 level) {
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel == 11)
return true;
// return gDebugLevelsEnabled & (1 << level);
@@ -130,7 +130,7 @@
}
bool isDebugChannelEnabled(const String &name) {
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel == 11)
return true;
@@ -217,7 +217,7 @@
void debugC(int level, uint32 debugChannels, const char *s, ...) {
va_list va;
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel != 11)
if (level > gDebugLevel || !(Common::gDebugLevelsEnabled & debugChannels))
return;
@@ -230,7 +230,7 @@
void debugC(uint32 debugChannels, const char *s, ...) {
va_list va;
- // FIXME: Seems gDebugLevel 11 has a special meaning? Document that!
+ // Debug level 11 turns on all special debug level messages
if (gDebugLevel != 11)
if (!(Common::gDebugLevelsEnabled & debugChannels))
return;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list