Remove debug logging to stdout/stderr

This commit is contained in:
Kristian Bendiksen
2020-06-30 22:53:59 +02:00
parent 6bda75b38e
commit 9ab2a4d279
2 changed files with 1 additions and 12 deletions

View File

@@ -151,7 +151,7 @@ void RimFractureModelCurve::performDataExtraction( bool* isUsingPseudoLength )
} }
else else
{ {
std::cerr << "RESULT ACCESSOR IS NULL" << std::endl; RiaLogging::error( QString( "No result found for %1" ).arg( m_eclipseResultDefinition()->resultVariable() ) );
} }
double overburdenHeight = m_fractureModel->overburdenHeight(); double overburdenHeight = m_fractureModel->overburdenHeight();

View File

@@ -2426,7 +2426,6 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
std::vector<QString> formationNamesVector = RimWellLogTrack::formationNamesVector( m_formationCase ); std::vector<QString> formationNamesVector = RimWellLogTrack::formationNamesVector( m_formationCase );
std::cout << "Burden: over=" << m_overburdenHeight() << " under=" << m_underburdenHeight() << std::endl;
if ( m_overburdenHeight > 0.0 ) if ( m_overburdenHeight > 0.0 )
{ {
addOverburden( formationNamesVector, curveData, m_overburdenHeight ); addOverburden( formationNamesVector, curveData, m_overburdenHeight );
@@ -2446,16 +2445,6 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
&formationNamesToPlot, &formationNamesToPlot,
&yValues ); &yValues );
for ( auto n : formationNamesToPlot )
{
std::cout << "Formation names: " << n.toStdString() << std::endl;
}
for ( size_t i = 0; i < curveData.data.size(); i++ )
{
std::cout << "Curve data[" << i << "]: " << curveData.tvd[i] << " " << curveData.data[i] << std::endl;
}
const std::pair<double, double> xRange = std::make_pair( m_visibleXRangeMin(), m_visibleXRangeMax() ); const std::pair<double, double> xRange = std::make_pair( m_visibleXRangeMin(), m_visibleXRangeMax() );
caf::ColorTable colorTable( m_colorShadingLegend->colorArray() ); caf::ColorTable colorTable( m_colorShadingLegend->colorArray() );