Skip to content

Commit

Permalink
Fix for missing defined for 'QgsDebugMsgLevel'not defined bug.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5181 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Apr 5, 2006
1 parent 10952a7 commit cb11266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/qgslogger.h
Expand Up @@ -29,6 +29,7 @@ __FILE__, __FUNCTION__, __LINE__);
#else
#define QgsDebugMsg(str)
#define QgsDebugMsgVal(str, val, level)
#define QgsDebugMsgLevel(str, level) ""
#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
3 changes: 2 additions & 1 deletion src/raster/qgsrasterlayer.cpp
Expand Up @@ -61,7 +61,7 @@ wish to see edbug messages printed to stdout.
*/
#include "qgslegend.h"
#include "qgslegendlayer.h"
#include "qgslogger.h"
#include <qgslogger.h>
#include "qgsrasterlayer.h"
#include "qgsmaptopixel.h"
//Added by qt3to4:
Expand Down Expand Up @@ -119,6 +119,7 @@ wish to see edbug messages printed to stdout.
#include "qgsattributeaction.h"
#include "qgsmaplayerregistry.h"
#include "qgsspatialrefsys.h"
#include "qgslogger.h"

/*
*
Expand Down

0 comments on commit cb11266

Please sign in to comment.