MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / circleToolsLogFilePath

Function circleToolsLogFilePath

plugins/circletools/circletools.cpp:69–73  ·  view source on GitHub ↗

--- logging (debug) ---

Source from the content-addressed store, hash-verified

67
68// --- logging (debug) ---
69static QString circleToolsLogFilePath() {
70 QString dir = QStandardPaths::writableLocation(QStandardPaths::TempLocation);
71 if (dir.isEmpty()) dir = QDir::homePath();
72 return QDir(dir).filePath(QStringLiteral("CircleTools.log"));
73}
74
75static void logLine(const QString& line) {
76 QFile f(circleToolsLogFilePath());

Callers 4

logLineFunction · 0.85
opFindMoveToLayerMethod · 0.85
opResizeSelectedMethod · 0.85
opFindResizeMethod · 0.85

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected