From b18e0a0bd858adad1908d1427bfccadfc3914d95 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 4 Apr 2019 14:43:05 +0200 Subject: [PATCH] [libcalamares] Use structured logging tags --- src/libcalamares/Settings.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcalamares/Settings.cpp b/src/libcalamares/Settings.cpp index a43d18d10..d1dc2cc99 100644 --- a/src/libcalamares/Settings.cpp +++ b/src/libcalamares/Settings.cpp @@ -44,7 +44,7 @@ requireString( const YAML::Node& config, const char* key ) return QString::fromStdString( v.as< std::string >() ); else { - cWarning() << "Required settings.conf key" << key << "is missing."; + cWarning() << Logger::SubEntry() << "Required settings.conf key" << key << "is missing."; return QString(); } } @@ -58,7 +58,7 @@ requireBool( const YAML::Node& config, const char* key, bool d ) return v.as< bool >(); else { - cWarning() << "Required settings.conf key" << key << "is missing."; + cWarning() << Logger::SubEntry() << "Required settings.conf key" << key << "is missing."; return d; } } @@ -106,7 +106,7 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri output.append( d.absolutePath() ); } else - cDebug() << " .. module-search entry non-existent" << path; + cDebug() << Logger::SubEntry() << "module-search entry non-existent" << path; } } }