Hide debug logging using keyword filtering

Also, adds a hint to the "KeywordsForLogging" preference to inform users about the 'enable-all' option.
This commit is contained in:
Magne Sjaastad
2025-07-25 08:42:13 +02:00
parent b9f13f742d
commit fdcd157238
4 changed files with 10 additions and 8 deletions
@@ -858,7 +858,7 @@ bool RiaApplication::loadProject( const QString& projectFileName, ProjectLoadAct
bool isLoggingEnabled = RiaPreferencesSystem::current()->isLoggingActivatedForKeyword( "RiaApplication" );
if ( isLoggingEnabled )
{
RiaLogging::logElapsedTime( QString( "Project file '%1' loaded" ).arg( projectFileName ), startTime );
RiaLogging::logElapsedTime( QString( "Opened project file '%1' " ).arg( projectFileName ), startTime );
}
return true;