[QGIS Commit] r12758 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Jan 14 13:10:18 EST 2010


Author: jef
Date: 2010-01-14 13:10:16 -0500 (Thu, 14 Jan 2010)
New Revision: 12758

Modified:
   trunk/qgis/src/core/qgscoordinatereferencesystem.cpp
   trunk/qgis/src/core/qgsmaprenderer.cpp
Log:
reduce debugging noise

Modified: trunk/qgis/src/core/qgscoordinatereferencesystem.cpp
===================================================================
--- trunk/qgis/src/core/qgscoordinatereferencesystem.cpp	2010-01-14 18:01:01 UTC (rev 12757)
+++ trunk/qgis/src/core/qgscoordinatereferencesystem.cpp	2010-01-14 18:10:16 UTC (rev 12758)
@@ -187,7 +187,7 @@
 
 bool QgsCoordinateReferenceSystem::loadFromDb( QString db, QString field, long id )
 {
-  QgsDebugMsg( "load CRS from " + db + " where " + field + " is " + QString::number( id ) );
+  QgsDebugMsgLevel( "load CRS from " + db + " where " + field + " is " + QString::number( id ), 3 );
   mIsValidFlag = false;
 
   QFileInfo myInfo( db );
@@ -1133,7 +1133,7 @@
 
 int QgsCoordinateReferenceSystem::openDb( QString path, sqlite3 **db )
 {
-  QgsDebugMsg( "path = " + path );
+  QgsDebugMsgLevel( "path = " + path, 3 );
   int myResult = sqlite3_open( path.toUtf8().data(), db );
 
   if ( myResult )

Modified: trunk/qgis/src/core/qgsmaprenderer.cpp
===================================================================
--- trunk/qgis/src/core/qgsmaprenderer.cpp	2010-01-14 18:01:01 UTC (rev 12757)
+++ trunk/qgis/src/core/qgsmaprenderer.cpp	2010-01-14 18:10:16 UTC (rev 12758)
@@ -647,9 +647,9 @@
 
 const QgsCoordinateReferenceSystem& QgsMapRenderer::destinationSrs()
 {
-  QgsDebugMsg( "* Returning destCRS" );
-  QgsDebugMsg( "* DestCRS.srsid() = " + QString::number( mDestCRS->srsid() ) );
-  QgsDebugMsg( "* DestCRS.proj4() = " + mDestCRS->toProj4() );
+  QgsDebugMsgLevel( "* Returning destCRS", 3 );
+  QgsDebugMsgLevel( "* DestCRS.srsid() = " + QString::number( mDestCRS->srsid() ), 3 );
+  QgsDebugMsgLevel( "* DestCRS.proj4() = " + mDestCRS->toProj4(), 3 );
   return *mDestCRS;
 }
 



More information about the QGIS-commit mailing list