Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -33,7 +33,11 @@
|
||||
#include "prdtoa.h"
|
||||
#include "nsISizeOfHandler.h"
|
||||
#endif
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsString2Log)
|
||||
#define PRINTF NS_LOG_PRINTF(nsString2Log)
|
||||
#define FLUSH NS_LOG_FLUSH(nsString2Log)
|
||||
|
||||
static const char* kPossibleNull = "Error: possible unintended null in string";
|
||||
static const char* kNullPointerError = "Error: unexpected null ptr";
|
||||
@@ -1753,7 +1757,7 @@ void nsString::DebugDump(void) const {
|
||||
}
|
||||
|
||||
if(theBuffer) {
|
||||
printf("\n%s",theBuffer);
|
||||
PRINTF("\n%s",theBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user