Skip to content

Commit

Permalink
replaced std::couts in QgsOgrProvider with logger methods
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5164 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Apr 4, 2006
1 parent 05d5a58 commit 5576297
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 156 deletions.
4 changes: 4 additions & 0 deletions src/core/qgslogger.h
Expand Up @@ -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:
Expand Down

0 comments on commit 5576297

Please sign in to comment.