mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Make logging more consistent.
- Across all the C++ modules, use Logger::SubEntry for sub/continues log lines, instead of somewhat-random indent strings.
This commit is contained in:
parent
d6cf0617f6
commit
520478847c
12 changed files with 43 additions and 43 deletions
|
@ -173,7 +173,7 @@ PartitionCoreModule::doInit()
|
|||
m_deviceInfos << deviceInfo;
|
||||
cDebug() << device->deviceNode() << device->capacity() << device->name() << device->prettyName();
|
||||
}
|
||||
cDebug() << ".." << devices.count() << "devices detected.";
|
||||
cDebug() << Logger::SubEntry << devices.count() << "devices detected.";
|
||||
m_deviceModel->init( devices );
|
||||
|
||||
// The following PartUtils::runOsprober call in turn calls PartUtils::canBeResized,
|
||||
|
@ -504,11 +504,11 @@ PartitionCoreModule::jobs() const
|
|||
#ifdef DEBUG_PARTITION_UNSAFE
|
||||
#ifdef DEBUG_PARTITION_LAME
|
||||
cDebug() << "Unsafe partitioning is enabled.";
|
||||
cDebug() << ".. it has been lamed, and will fail.";
|
||||
cDebug() << Logger::SubEntry << "it has been lamed, and will fail.";
|
||||
lst << Calamares::job_ptr( new Calamares::FailJob( QStringLiteral( "Partition" ) ) );
|
||||
#else
|
||||
cWarning() << "Unsafe partitioning is enabled.";
|
||||
cWarning() << ".. the unsafe actions will be executed.";
|
||||
cWarning() << Logger::SubEntry << "the unsafe actions will be executed.";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue