Don't color whole line for logging

This commit is contained in:
miruka 2020-04-19 07:05:17 -04:00
parent 89824326e4
commit bdb9a650d9

View File

@ -64,14 +64,14 @@ void loggingHandler(
fprintf(
stderr,
"%s%s %s |%s %s%s%s\n",
"%s%s%s %s%s |%s %s\n",
boldColor.toUtf8().constData(),
level,
QDateTime::currentDateTime().toString("hh:mm:ss").toUtf8().constData(),
clearFormatting.toUtf8().constData(),
color.toUtf8().constData(),
msg.toUtf8().constData(),
clearFormatting.toUtf8().constData()
QDateTime::currentDateTime().toString("hh:mm:ss").toUtf8().constData(),
clearFormatting.toUtf8().constData(),
msg.toUtf8().constData()
);
}