Skip to content

Commit

Permalink
fix up debug lint so that it uses std debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Mar 13, 2012
1 parent 330fa89 commit f8cb82a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/filters/Scaling.cpp
Expand Up @@ -178,16 +178,16 @@ void Scaling::alterSchema(PointBuffer& buffer)
if (!found)
throw pdal_error("Scaling between types is not supported");

std::cout << "Rescaling dimension " << from_dimension->getName()
m_scalingFilter.log()->get(logDEBUG4) << "Rescaling dimension " << from_dimension->getName()
<< " [" << from_dimension->getInterpretation() << "/" << from_dimension->getByteSize() << "]"
<< " to scale: " << to_dimension.getNumericScale()
<< " offset: " << to_dimension.getNumericOffset()
<< " datatype: " << to_dimension.getInterpretation() << "/" << to_dimension.getByteSize()
<< std::endl;
std::pair<dimension::id, dimension::id> p(from_dimension->getUUID(), to_dimension.getUUID());
std::cout << "map size was " << m_scale_map.size() << std::endl;
m_scalingFilter.log()->get(logDEBUG4) << "scale map size was " << m_scale_map.size() << std::endl;
m_scale_map.insert(p);
m_scalingFilter.log()->get(logDEBUG3) << "scale map size: " << m_scale_map.size() << std::endl;
m_scalingFilter.log()->get(logDEBUG3) << "scale map size is: " << m_scale_map.size() << std::endl;
schema.appendDimension(to_dimension);
}
}
Expand All @@ -199,7 +199,7 @@ void Scaling::alterSchema(PointBuffer& buffer)
{
Dimension const& from_dimension = schema.getDimension(d->first);
Dimension const& to_dimension = schema.getDimension(d->second);
std::cout << "Map wants to do: " << from_dimension.getName()
m_scalingFilter.log()->get(logDEBUG4) << "Map wants to do: " << from_dimension.getName()
<< " [" << from_dimension.getInterpretation() << "/" << from_dimension.getByteSize() << "]"
<< " to scale: " << to_dimension.getNumericScale()
<< " offset: " << to_dimension.getNumericOffset()
Expand Down

0 comments on commit f8cb82a

Please sign in to comment.