Skip to content
Snippets Groups Projects
Commit ab606d8b authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Fixed log_it call

parent ce78f64b
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,11 @@ void DapLogger::messageHandler(QtMsgType type,
strcpy(prefixBuffer, fileName);
sprintf(strrchr(prefixBuffer, '.'), ":%d", ctx.line);
#ifdef DAP_LOG_MT
_log_it(prefixBuffer, strlen(prefixBuffer)-1, castQtMsgToDap(type), msg.toLatin1().data());
//_log_it(prefixBuffer, strlen(prefixBuffer)-1, castQtMsgToDap(type), msg.toLatin1().data());
_log_it(prefixBuffer, castQtMsgToDap(type), msg.toLatin1().data());
} else {
_log_it("\0",1, castQtMsgToDap(type), msg.toLatin1().data());
_log_it("\0", castQtMsgToDap(type), msg.toLatin1().data());
//_log_it("\0",1, castQtMsgToDap(type), msg.toLatin1().data());
}
#else
_log_it2(prefixBuffer, castQtMsgToDap(type), msg.toLatin1().data());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment