mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 02:45:37 -04:00
[libcalamares] Use structured logging tags
This commit is contained in:
parent
09ae721038
commit
b18e0a0bd8
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ requireString( const YAML::Node& config, const char* key )
|
||||||
return QString::fromStdString( v.as< std::string >() );
|
return QString::fromStdString( v.as< std::string >() );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cWarning() << "Required settings.conf key" << key << "is missing.";
|
cWarning() << Logger::SubEntry() << "Required settings.conf key" << key << "is missing.";
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ requireBool( const YAML::Node& config, const char* key, bool d )
|
||||||
return v.as< bool >();
|
return v.as< bool >();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cWarning() << "Required settings.conf key" << key << "is missing.";
|
cWarning() << Logger::SubEntry() << "Required settings.conf key" << key << "is missing.";
|
||||||
return d;
|
return d;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,7 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri
|
||||||
output.append( d.absolutePath() );
|
output.append( d.absolutePath() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cDebug() << " .. module-search entry non-existent" << path;
|
cDebug() << Logger::SubEntry() << "module-search entry non-existent" << path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue