MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / _logsFilePath

Function _logsFilePath

Telegram/SourceFiles/logs.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51QString _logsFilePath(LogDataType type, const QString &postfix = QString()) {
52 QString path(cWorkingDir());
53 switch (type) {
54 case LogDataMain: path += u"log"_q + postfix + u".txt"_q; break;
55 case LogDataDebug: path += u"DebugLogs/log"_q + postfix + u".txt"_q; break;
56 case LogDataMtp: path += u"DebugLogs/mtp"_q + postfix + u".txt"_q; break;
57 }
58 return path;
59}
60
61int32 LogsStartIndexChosen = -1;
62QString _logsEntryStart() {

Callers 3

reopenMethod · 0.85
startFunction · 0.85
instanceCheckedFunction · 0.85

Calls 1

QStringClass · 0.50

Tested by

no test coverage detected