aboutsummaryrefslogtreecommitdiff
path: root/common/debug.h
AgeCommit message (Collapse)Author
2016-08-19COMMON: Added checkers for debug channels.Eugene Sandulenko
Sometimes there is a need to add debug execution and enable it from the command line. Now it is possible, both with debug levels and channels
2016-08-13COMMON: Introduce --debug-channels-only command line flag.Eugene Sandulenko
Many of our systems currently generate significant amount of debug output on deeper levels. Now, when your engine is using Debug Channels, you might want to show that debug information only, which is currently not possible, as the generic output will be mixed in your output. Alternative solution would be to implement possibility to specify per-channel debug levels.
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-01COMMON: Get rid of the debug() output formatterMax Horn
Now Engine::errorString is only used by error(), as its name suggests. This also resolves the inconsistency between debug & debugN. svn-id: r54023
2010-11-01COMMON: Add debugN variant without level parameterMax Horn
This makes our various debug*() functions fully symmetric, for now. svn-id: r54008
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27correct indentionMax Horn
svn-id: r48822
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-27cleanupMax Horn
svn-id: r48820
2010-01-30- Call the special debug channels "channels" consistently. (Formerly ↵Johannes Schickel
sometimes they were refered to as "levels"). - Along with it add some more descriptive commentary about what is the intention behind debug channels. svn-id: r47727
2009-11-26Renamed common/console.* to common/textconsole.* to fix compilation under ↵Filippos Karapetis
MSVC again (broken with commit #46130). MSVC places all object files for each engine in the same folder (even if they're in subfolders), which resulted in clashing between gui/console.* and common/console.*. There's no easy way around this, other than turning the resulting MSVC files into a big mess, so a simple file rename is more feasible svn-id: r46151
2009-11-24COMMON: Remove dependency on engines code (by using the inversion principle).Max Horn
svn-id: r46130
2009-06-10Fix documentation for debugC and debugCN, relying on special debug levels.Johannes Schickel
svn-id: r41425
2009-06-10Added debugCN() call which does not add newline automaticallyEugene Sandulenko
svn-id: r41421
2009-03-01Fix documentation, debug(C/N) prints to stdout not stderr.Johannes Schickel
svn-id: r39058
2009-03-01COMMON: added a debugC variant which only takes a debug channel maskMax Horn
svn-id: r39054
2009-01-30Renamed SpecialDebugLevel to DebugChannelMax Horn
svn-id: r36142
2009-01-30Switched special debug levels to using a hashmap internallyMax Horn
svn-id: r36141
2009-01-30Some more 'special debug levels' tweaksMax Horn
svn-id: r36140
2009-01-30Some work on the 'special debug levels' aka 'engine debug levels' codeMax Horn
svn-id: r36139
2009-01-30Moved debug() etc. and special debug flag handling code to common/debug.*; ↵Max Horn
also some tweaks to the code svn-id: r36134