QtCraft API C++ classes QML types Handbook

QcDiagnosticsSetup Struct

What the diagnostics options asked for (decision E-834). More...

Header: #include <common/diagnostics/QcDiagnosticsOptions.h>

Public Variables

QString crashTest
bool fullDump
std::optional<int> healthSeconds
std::optional<QString> logFile
QString logRules
bool noLogFile

Detailed Description

Member Variable Documentation

QString QcDiagnosticsSetup::crashTest

–crash-test (hidden test hook): crash this way once the handler is installed.

bool QcDiagnosticsSetup::fullDump

–full-dump: Windows minidumps with the whole memory.

std::optional<int> QcDiagnosticsSetup::healthSeconds

–health-log: seconds between health lines, 0 for none; unset: the default of the program.

std::optional<QString> QcDiagnosticsSetup::logFile

–log-file: this file instead of the session log in <data>/logs.

QString QcDiagnosticsSetup::logRules

–log-rules: logging rules like QT_LOGGING_RULES ("qtcraft.server.debug=true;…").

bool QcDiagnosticsSetup::noLogFile

–no-log-file: no log file at all (crash reports still go to <data>/logs).