This option tells the logging system to always include a "[cat:level]"
prefix, so [net] becomes [net:debug], LogInfo/LogPrint statements will have
an [all:info] prefix, and LogWarning and LogError logs will become
[all:warning] and [all:error]. This may be easier for automated parsing
of logs, particularly if additional prefixes such as thread or source
location are enabled.
argsman.AddArg("-logsourcelocations",strprintf("Prepend debug output with name of the originating source location (source file, line number and function name) (default: %u)",DEFAULT_LOGSOURCELOCATIONS),ArgsManager::ALLOW_ANY,OptionsCategory::DEBUG_TEST);
argsman.AddArg("-logtimemicros",strprintf("Add microsecond precision to debug timestamps (default: %u)",DEFAULT_LOGTIMEMICROS),ArgsManager::ALLOW_ANY|ArgsManager::DEBUG_ONLY,OptionsCategory::DEBUG_TEST);
argsman.AddArg("-loglevelalways",strprintf("Always prepend a category and level (default: %u)",DEFAULT_LOGLEVELALWAYS),ArgsManager::ALLOW_ANY,OptionsCategory::DEBUG_TEST);
argsman.AddArg("-printtoconsole","Send trace/debug info to console (default: 1 when no -daemon. To disable logging to file, set -nodebuglogfile)",ArgsManager::ALLOW_ANY,OptionsCategory::DEBUG_TEST);
argsman.AddArg("-shrinkdebugfile","Shrink debug.log file on client startup (default: 1 when no -debug)",ArgsManager::ALLOW_ANY,OptionsCategory::DEBUG_TEST);