[modules] Use new convenience logging methods across the board

This commit is contained in:
Adriaan de Groot 2018-02-13 11:07:12 +01:00
parent 3f77fb1d16
commit 3315df5df1
14 changed files with 33 additions and 32 deletions

View file

@ -58,7 +58,7 @@ ShellProcessJob::exec()
if ( ! m_commands || m_commands->isEmpty() )
{
cDebug() << "WARNING: No commands to execute" << moduleInstanceKey();
cWarning() << "No commands to execute" << moduleInstanceKey();
return Calamares::JobResult::ok();
}
@ -81,7 +81,7 @@ ShellProcessJob::setConfigurationMap( const QVariantMap& configurationMap )
cDebug() << "ShellProcessJob: \"script\" contains no commands for" << moduleInstanceKey();
}
else
cDebug() << "WARNING: No script given for ShellProcessJob" << moduleInstanceKey();
cWarning() << "No script given for ShellProcessJob" << moduleInstanceKey();
}
CALAMARES_PLUGIN_FACTORY_DEFINITION( ShellProcessJobFactory, registerPlugin<ShellProcessJob>(); )