mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -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
@@ -45,13 +45,13 @@ caf::PdmScriptResponse RicfExportMultiCaseSnapshots::execute()
|
||||
if ( !app )
|
||||
{
|
||||
QString error( "exportMultiCaseSnapshots: Requires GUI Application" );
|
||||
RiaLogging::error( error );
|
||||
RiaLogging::error( error.toStdString() );
|
||||
return caf::PdmScriptResponse( caf::PdmScriptResponse::COMMAND_ERROR, error );
|
||||
}
|
||||
if ( m_gridListFile().isNull() )
|
||||
{
|
||||
QString error( "exportMultiCaseSnapshots: Required parameter gridListFile." );
|
||||
RiaLogging::error( error );
|
||||
RiaLogging::error( error.toStdString() );
|
||||
return caf::PdmScriptResponse( caf::PdmScriptResponse::COMMAND_ERROR, error );
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ caf::PdmScriptResponse RicfExportMultiCaseSnapshots::execute()
|
||||
{
|
||||
QString error( "exportMultiCaseSnapshots: 'openProject' must be called before 'exportMultiCaseSnapshots' to "
|
||||
"specify project file to replace cases in." );
|
||||
RiaLogging::error( error );
|
||||
RiaLogging::error( error.toStdString() );
|
||||
return caf::PdmScriptResponse( caf::PdmScriptResponse::COMMAND_ERROR, error );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user