Don't color whole line for logging
This commit is contained in:
parent
89824326e4
commit
bdb9a650d9
|
@ -64,14 +64,14 @@ void loggingHandler(
|
||||||
|
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
stderr,
|
||||||
"%s%s %s |%s %s%s%s\n",
|
"%s%s%s %s%s |%s %s\n",
|
||||||
boldColor.toUtf8().constData(),
|
boldColor.toUtf8().constData(),
|
||||||
level,
|
level,
|
||||||
QDateTime::currentDateTime().toString("hh:mm:ss").toUtf8().constData(),
|
|
||||||
clearFormatting.toUtf8().constData(),
|
clearFormatting.toUtf8().constData(),
|
||||||
color.toUtf8().constData(),
|
color.toUtf8().constData(),
|
||||||
msg.toUtf8().constData(),
|
QDateTime::currentDateTime().toString("hh:mm:ss").toUtf8().constData(),
|
||||||
clearFormatting.toUtf8().constData()
|
clearFormatting.toUtf8().constData(),
|
||||||
|
msg.toUtf8().constData()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user