Doxygen
|
Class containing a print function for diagnostics. More...
#include <src/debug.h>
Public Types | |
enum | DebugMask : uint64_t { Quiet = 0x00'0000ULL , Preprocessor = 0x00'0001ULL , CommentCnv = 0x00'0002ULL , CommentScan = 0x00'0004ULL , Formula = 0x00'0008ULL , PrintTree = 0x00'0010ULL , Time = 0x00'0020ULL , ExtCmd = 0x00'0040ULL , Markdown = 0x00'0080ULL , FilterOutput = 0x00'0100ULL , Plantuml = 0x00'0200ULL , FortranFixed2Free = 0x00'0400ULL , Cite = 0x00'0800ULL , NoLineNo = 0x00'1000ULL , Rtf = 0x00'2000ULL , Qhp = 0x00'4000ULL , Tag = 0x00'8000ULL , Alias = 0x01'0000ULL , Entries = 0x02'0000ULL , Sections = 0x04'0000ULL , Stderr = 0x08'0000ULL , Layout = 0x10'0000ULL , Lex = 0x0000'FFFF'FF00'0000ULL , Lex_code = 0x0000'0000'0100'0000ULL , Lex_commentcnv = 0x0000'0000'0200'0000ULL , Lex_commentscan = 0x0000'0000'0400'0000ULL , Lex_configimpl = 0x0000'0000'0800'0000ULL , Lex_constexp = 0x0000'0000'1000'0000ULL , Lex_declinfo = 0x0000'0000'2000'0000ULL , Lex_defargs = 0x0000'0000'4000'0000ULL , Lex_doctokenizer = 0x0000'0000'8000'0000ULL , Lex_fortrancode = 0x0000'0001'0000'0000ULL , Lex_fortranscanner = 0x0000'0002'0000'0000ULL , Lex_lexcode = 0x0000'0004'0000'0000ULL , Lex_lexscanner = 0x0000'0008'0000'0000ULL , Lex_pre = 0x0000'0010'0000'0000ULL , Lex_pycode = 0x0000'0020'0000'0000ULL , Lex_pyscanner = 0x0000'0040'0000'0000ULL , Lex_scanner = 0x0000'0080'0000'0000ULL , Lex_sqlcode = 0x0000'0100'0000'0000ULL , Lex_vhdlcode = 0x0000'0200'0000'0000ULL , Lex_xml = 0x0000'0400'0000'0000ULL , Lex_xmlcode = 0x0000'0800'0000'0000ULL } |
Static Public Member Functions | |
static void | print (DebugMask mask, int prio, const char *fmt,...) |
static bool | setFlagStr (const QCString &label) |
static void | setFlag (const DebugMask mask) |
static void | clearFlag (const DebugMask mask) |
static bool | isFlagSet (const DebugMask mask) |
static void | printFlags () |
static void | setPriority (int p) |
static void | startTimer () |
static double | elapsedTime () |
Static Private Attributes | |
static DebugMask | curMask = Debug::Quiet |
static int | curPrio = 0 |
enum Debug::DebugMask : uint64_t |
Definition at line 27 of file debug.h.
|
static |
Definition at line 125 of file debug.cpp.
References curMask.
Referenced by devUsage(), generateOutput(), Statistics::print(), usage(), and version().
|
static |
Definition at line 204 of file debug.cpp.
References Timer::elapsedTimeS(), and g_runningTime.
Referenced by generateOutput(), and msg().
|
static |
Definition at line 135 of file debug.cpp.
References curMask.
Referenced by CCodeParser::CCodeParser(), CommentScanner::CommentScanner(), convertCppComments(), COutlineParser::COutlineParser(), determineInkscapeVersion(), DocTokenizer::DocTokenizer(), FortranCodeParser::FortranCodeParser(), FormulaManager::generateImages(), generateOutput(), CitationManager::generatePage(), LayoutDocManager::init(), LexCodeParser::LexCodeParser(), LexOutlineParser::LexOutlineParser(), msg(), ConstExpressionParser::parse(), LayoutDocManager::parse(), parseFuncDecl(), ConfigImpl::parseString(), parseTagFile(), preProcessFile(), RTFGenerator::preProcessFileInplace(), DebugLex::print(), print(), print(), Statistics::print(), printNavLayout(), printNavTree(), printSectionsTree(), FortranOutlineParser::Private::Private(), Preprocessor::processFile(), PythonCodeParser::PythonCodeParser(), PythonOutlineParser::PythonOutlineParser(), readIncludeFile(), runHtmlHelpCompiler(), runQHelpGenerator(), SQLCodeParser::SQLCodeParser(), stringToArgumentList(), validatingParseDoc(), validatingParseText(), VHDLCodeParser::VHDLCodeParser(), writeIndent(), and XMLCodeParser::XMLCodeParser().
|
static |
Definition at line 81 of file debug.cpp.
References curMask, curPrio, and g_debugFile.
Referenced by FileDefImpl::acquireFileVersion(), addValidAliasToMap(), convertCppComments(), anonymous_namespace{tagreader.cpp}::TagFileParser::dump(), expandAlias(), FilterCache::getFileContentsPipe(), PlantumlManager::insert(), CommentScanner::parseCommentBlock(), MarkdownOutlineParser::parseInput(), parseMain(), print(), print(), printLayout(), printNavLayout(), printNavTree(), printSectionsTree(), Markdown::process(), Preprocessor::processFile(), readCodeFragment(), readIncludeFile(), readInputFile(), resolveAliasCmd(), rtfFormatBmkStr(), PlantumlManager::run(), runPlantumlContent(), runQHelpGenerator(), Portable::system(), and PlantumlManager::writePlantUMLSource().
|
static |
Definition at line 140 of file debug.cpp.
References msg(), and s_labels.
Referenced by devUsage().
|
static |
Definition at line 120 of file debug.cpp.
References curMask.
Referenced by generateOutput(), and Statistics::print().
|
static |
Definition at line 106 of file debug.cpp.
References curMask, g_debugFile, labelToEnumValue(), and Stderr.
Referenced by readConfiguration().
|
static |
|
static |
Definition at line 199 of file debug.cpp.
References g_runningTime, and Timer::start().
Referenced by initDoxygen().
|
staticprivate |
Definition at line 85 of file debug.h.
Referenced by clearFlag(), isFlagSet(), print(), setFlag(), and setFlagStr().
|
staticprivate |
Definition at line 86 of file debug.h.
Referenced by print(), and setPriority().