mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 09:00:14 -06: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
+2
-1
@@ -41,6 +41,7 @@
|
||||
#include "RimWellPathValve.h"
|
||||
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaQStringFormatter.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
@@ -162,7 +163,7 @@ RigMswBranch buildMainBoreBranchFromGeometry( const RimWellPath*
|
||||
const double cellLength = std::fabs( cellInfo.endMD - cellInfo.startMD );
|
||||
if ( cellLength <= segmentLengthThreshold )
|
||||
{
|
||||
RiaLogging::info( QString( "Skipping segment, threshold = %1, length = %2" ).arg( segmentLengthThreshold ).arg( cellLength ) );
|
||||
RiaLogging::info( std::format( "Skipping segment, threshold = {}, length = {}", segmentLengthThreshold, cellLength ) );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user