Merge #10123: Allow debug logs to be excluded from specified component
3bde556 Add -debugexclude option to switch off logging for specified components (John Newbery)
Tree-SHA512: 30202e3f2085fc2fc5dd4bedb92988f4cb162c612a42cf8f6395a7da326f34975ddc347f82bc4ddca6c84c438dc0cc6e87869f90c7ff88105dbeaa52a947fa43
strUsage+=HelpMessageOpt("-debug=<category>",strprintf(_("Output debugging information (default: %u, supplying <category> is optional)"),0)+". "+
strUsage+=HelpMessageOpt("-debug=<category>",strprintf(_("Output debugging information (default: %u, supplying <category> is optional)"),0)+". "+
_("If <category> is not supplied or if <category> = 1, output all debugging information.")+""+_("<category> can be:")+""+ListLogCategories()+".");
_("If <category> is not supplied or if <category> = 1, output all debugging information.")+""+_("<category> can be:")+""+ListLogCategories()+".");
strUsage+=HelpMessageOpt("-debugexclude=<category>",strprintf(_("Exclude debugging information for a category. Can be used in conjunction with -debug=1 to output debug logs for all categories except one or more specified categories.")));
if(showDebug)
if(showDebug)
strUsage+=HelpMessageOpt("-nodebug","Turn off debugging messages, same as -debug=0");
strUsage+=HelpMessageOpt("-nodebug","Turn off debugging messages, same as -debug=0");
strUsage+=HelpMessageOpt("-help-debug",_("Show all debugging options (usage: --help -help-debug)"));
strUsage+=HelpMessageOpt("-help-debug",_("Show all debugging options (usage: --help -help-debug)"));