mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-28 16:10:24 -05:00
#13126 RiaLogging: Use std::string_view instead of QString for logging
This commit is contained in:
1 parent
4957bf5a8b
commit
5ffcb69acc
231 files changed
+1082
-893
No files matched your search
@@ -21,6 +21,7 @@
|
||||
#include "Cloud/RiaOsduConnector.h"
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaQStringFormatter.h"
|
||||
|
||||
#include "RimOsduWellLog.h"
|
||||
|
||||
@@ -92,7 +93,7 @@ void RimOsduWellLogDataLoader::parquetDownloadComplete( const QByteArray& conten
|
||||
{
|
||||
int taskId = m_taskIds[id];
|
||||
|
||||
RiaLogging::info( QString( "Parquet download complete. Id: %1 Size: %2" ).arg( id ).arg( contents.size() ) );
|
||||
RiaLogging::info( std::format( "Parquet download complete. Id: {} Size: {}", id, contents.size() ) );
|
||||
|
||||
if ( !contents.isEmpty() )
|
||||
{
|
||||
@@ -105,7 +106,7 @@ void RimOsduWellLogDataLoader::parquetDownloadComplete( const QByteArray& conten
|
||||
}
|
||||
else
|
||||
{
|
||||
RiaLogging::warning( errorMessage );
|
||||
RiaLogging::warning( errorMessage.toStdString() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user