Skip to content

Commit cb11266

Browse files
author
timlinux
committedApr 5, 2006
Fix for missing defined for 'QgsDebugMsgLevel'not defined bug.
git-svn-id: http://svn.osgeo.org/qgis/trunk@5181 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 10952a7 commit cb11266

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎src/core/qgslogger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ __FILE__, __FUNCTION__, __LINE__);
2929
#else
3030
#define QgsDebugMsg(str)
3131
#define QgsDebugMsgVal(str, val, level)
32+
#define QgsDebugMsgLevel(str, level) ""
3233
#endif
3334

3435
/**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:

‎src/raster/qgsrasterlayer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ wish to see edbug messages printed to stdout.
6161
*/
6262
#include "qgslegend.h"
6363
#include "qgslegendlayer.h"
64-
#include "qgslogger.h"
64+
#include <qgslogger.h>
6565
#include "qgsrasterlayer.h"
6666
#include "qgsmaptopixel.h"
6767
//Added by qt3to4:
@@ -119,6 +119,7 @@ wish to see edbug messages printed to stdout.
119119
#include "qgsattributeaction.h"
120120
#include "qgsmaplayerregistry.h"
121121
#include "qgsspatialrefsys.h"
122+
#include "qgslogger.h"
122123

123124
/*
124125
*

0 commit comments

Comments
 (0)
Please sign in to comment.