mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -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
+1
-1
@@ -174,7 +174,7 @@ void RimPlotCellPropertyFilter::updateCellVisibilityFromFilter( size_t timeStepI
|
||||
QString message =
|
||||
QString( "Size of visible Cells (%1) is less than total cell count (%2)" ).arg( visibleCells->size() ).arg( totalReservoirCellCount );
|
||||
|
||||
RiaLogging::error( message );
|
||||
RiaLogging::error( message.toStdString() );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaColorTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaQStringFormatter.h"
|
||||
|
||||
#include "RifTextDataTableFormatter.h"
|
||||
|
||||
@@ -530,7 +531,7 @@ void RimGridCrossPlotDataSet::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
|
||||
if ( !eclipseCase->ensureReservoirCaseIsOpen() )
|
||||
{
|
||||
RiaLogging::warning( QString( "Failed to open eclipse grid file %1" ).arg( eclipseCase->gridFileName() ) );
|
||||
RiaLogging::warning( std::format( "Failed to open eclipse grid file {}", eclipseCase->gridFileName() ) );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user