parent
6ab1579d38
commit
6c8c6f5208
2 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ std::vector<char> makeMessage(const char *filename, int lineNumber, const char *
|
|||
const int priorityMaxSize = 10;
|
||||
const auto currentPriority = static_cast<int>(priority);
|
||||
|
||||
auto timeStr = QDateTime::currentDateTime().toString(Qt::ISODate).toStdString();
|
||||
auto timeStr = QDateTime::currentDateTime().toString(Qt::ISODateWithMs).toStdString();
|
||||
|
||||
auto sectionName = "IPC";
|
||||
if (priority != LogLevel::IPC) {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ const auto kForceDebugMessages = QStringList{
|
|||
|
||||
QString printLine(FILE *out, const QString &type, const QString &message, const QString &fileLine = {})
|
||||
{
|
||||
const auto datetime = QDateTime::currentDateTime().toString(Qt::ISODate);
|
||||
const auto datetime = QDateTime::currentDateTime().toString(Qt::ISODateWithMs);
|
||||
auto logLine = QStringLiteral("[%1] %2: %3").arg(datetime, type, message);
|
||||
|
||||
if (!fileLine.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue