Index: sources/storage/logger.cpp =================================================================== diff -u -r227f28b202f81ab3dd04a81868697025ccab6220 -re663ffa6157024ed326f2db445982ff150f9aa72 --- sources/storage/logger.cpp (.../logger.cpp) (revision 227f28b202f81ab3dd04a81868697025ccab6220) +++ sources/storage/logger.cpp (.../logger.cpp) (revision e663ffa6157024ed326f2db445982ff150f9aa72) @@ -212,7 +212,15 @@ default: LOG_ERROR(tr("Incorrect type of logging").arg(vLogType)); } + +#ifdef QT_DEBUG + if (vLogType == Logger::LogType::eLogError) { + mContent += QString("\033[1;31m --- %1 --- \033[0m").arg(_logPrefix[vLogType]); + } +#else mContent += _logPrefix[vLogType]; +#endif + mContent += _prefixSeparator; mContent += QTime::currentTime().toString(_timeFormat); mContent += _timeSeparator + vContent;