[partition] Improve logging readability

- The entire queue is one long output, so print them with SubEntry
This commit is contained in:
Adriaan de Groot 2021-03-29 14:17:40 +02:00
parent 1155b6fc3d
commit 70bf033dc0

View File

@ -659,10 +659,10 @@ PartitionCoreModule::dumpQueue() const
cDebug() << "# Queue:";
for ( auto info : m_deviceInfos )
{
cDebug() << "## Device:" << info->device->name();
cDebug() << Logger::SubEntry << "## Device:" << info->device->name();
for ( const auto& job : info->jobs() )
{
cDebug() << "-" << job->prettyName();
cDebug() << Logger::SubEntry << "-" << job->prettyName();
}
}
}