#13126 RiaLogging: Use std::string_view instead of QString for logging

This commit is contained in:
Kristian Bendiksen
2026-05-08 10:11:09 +02:00
parent 4957bf5a8b
commit 5ffcb69acc
231 changed files with 1082 additions and 893 deletions
@@ -21,6 +21,7 @@
#include "RiaApplication.h"
#include "RiaLogging.h"
#include "RiaPreferences.h"
#include "RiaQStringFormatter.h"
#include "RiaVersionInfo.h"
#include "cafPdmUiTextEditor.h"
@@ -105,7 +106,7 @@ void RiaPreferencesOpenTelemetry::setData( const std::map<QString, QString>& key
}
else
{
RiaLogging::warning( QString( "Unknown OpenTelemetry config key: '%1'" ).arg( key ) );
RiaLogging::warning( std::format( "Unknown OpenTelemetry config key: '{}'", key ) );
}
}
}