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

Function writeDebug

Telegram/SourceFiles/logs.cpp:519–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519void writeDebug(const QString &v) {
520 const auto msg = QString("%1 %2\n").arg(_logsEntryStart(), v);
521 _logsWrite(LogDataDebug, msg);
522
523#ifdef Q_OS_WIN
524 //OutputDebugString(reinterpret_cast<const wchar_t *>(msg.utf16()));
525#elif defined Q_OS_MAC
526 //objc_outputDebugString(msg);
527#elif defined _DEBUG
528 //std::cout << msg.toUtf8().constData();
529#endif
530}
531
532void writeMtp(int32 dc, const QString &v) {
533 const auto expanded = [&] {

Callers 2

writeMainFunction · 0.85
logMessageDebugMethod · 0.85

Calls 3

_logsEntryStartFunction · 0.85
_logsWriteFunction · 0.85
QStringClass · 0.50

Tested by

no test coverage detected