[libcalamares] Introduce cVerbose() convenience macro (like cDebug())
This commit is contained in:
parent
17cc0470da
commit
66f96e339c
@ -327,6 +327,7 @@ operator<<( CDebug&& s, const Once& o )
|
|||||||
|
|
||||||
} // namespace Logger
|
} // namespace Logger
|
||||||
|
|
||||||
|
#define cVerbose() Logger::CDebug( Logger::LOGVERBOSE, Q_FUNC_INFO )
|
||||||
#define cDebug() Logger::CDebug( Logger::LOGDEBUG, Q_FUNC_INFO )
|
#define cDebug() Logger::CDebug( Logger::LOGDEBUG, Q_FUNC_INFO )
|
||||||
#define cWarning() Logger::CDebug( Logger::LOGWARNING, Q_FUNC_INFO )
|
#define cWarning() Logger::CDebug( Logger::LOGWARNING, Q_FUNC_INFO )
|
||||||
#define cError() Logger::CDebug( Logger::LOGERROR, Q_FUNC_INFO )
|
#define cError() Logger::CDebug( Logger::LOGERROR, Q_FUNC_INFO )
|
||||||
|
@ -25,8 +25,8 @@ AutoMountManagementJob::prettyName() const
|
|||||||
Calamares::JobResult
|
Calamares::JobResult
|
||||||
AutoMountManagementJob::exec()
|
AutoMountManagementJob::exec()
|
||||||
{
|
{
|
||||||
Logger::CDebug( Logger::LOGVERBOSE ) << "this" << Logger::Pointer( this ) << "value" << Logger::Pointer( m_stored )
|
cVerbose() << "this" << Logger::Pointer( this ) << "value" << Logger::Pointer( m_stored )
|
||||||
<< ( m_stored ? "restore" : m_disable ? "disable" : "enable" );
|
<< ( m_stored ? "restore" : m_disable ? "disable" : "enable" );
|
||||||
if ( m_stored )
|
if ( m_stored )
|
||||||
{
|
{
|
||||||
CalamaresUtils::Partition::automountRestore( m_stored );
|
CalamaresUtils::Partition::automountRestore( m_stored );
|
||||||
|
Loading…
Reference in New Issue
Block a user