SCRATCH nuke the overcomplicated logger, use a simple one.

This commit is contained in:
Petr Mrázek
2015-02-02 02:14:14 +01:00
parent 28a39ef7ac
commit cd9d37aac4
71 changed files with 415 additions and 934 deletions

View File

@ -21,7 +21,7 @@ RawLibraryPtr RawLibrary::fromJson(const QJsonObject &libObj, const QString &fil
if (!val.isString())
{
QLOG_WARN() << key << "is not a string in" << filename << "(skipping)";
qWarning() << key << "is not a string in" << filename << "(skipping)";
return false;
}
@ -49,7 +49,7 @@ RawLibraryPtr RawLibrary::fromJson(const QJsonObject &libObj, const QString &fil
{
if (!it.value().isString())
{
QLOG_WARN() << filename << "contains an invalid native (skipping)";
qWarning() << filename << "contains an invalid native (skipping)";
}
OpSys opSys = OpSys_fromString(it.key());
if (opSys != Os_Other)
@ -215,7 +215,7 @@ bool RawLibrary::filesExist(const QDir &base) const
for(auto file: libFiles)
{
QFileInfo info(base, file);
QLOG_WARN() << info.absoluteFilePath() << "doesn't exist";
qWarning() << info.absoluteFilePath() << "doesn't exist";
if (!info.exists())
return false;
}