Skip to content
Permalink
Browse files

replaced std::couts in QgsOgrProvider with logger methods

git-svn-id: http://svn.osgeo.org/qgis/trunk@5164 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Apr 4, 2006
1 parent ca57526 commit d7fef115595106c1010f65057e9258e55ee40ce4
Showing with 78 additions and 156 deletions.
  1. +4 −0 src/core/qgslogger.h
  2. +74 −156 src/providers/ogr/qgsogrprovider.cpp
@@ -22,7 +22,11 @@
#include <sstream>
#include <QString>

#ifdef QGISDEBUG
#define QgsDebugMsg(str) QgsLogger::debug(QString(str), 1, __FILE__, __FUNCTION__, __LINE__);
#else
#define QgsDebugMsg(str)
#endif

/**QgsLogger is a class to print debug/warning/error messages to the console. The advantage of this class over std::cout, std::cerr & co. is that the output can be controlled with environment variables:

0 comments on commit d7fef11

Please sign in to comment.
You can’t perform that action at this time.