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:
@@ -32,6 +32,11 @@
|
||||
#include "nsDebug.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsDeque.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsStringLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsStringLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsStringLog)
|
||||
|
||||
#ifndef RICKG_TESTBED
|
||||
#include "prdtoa.h"
|
||||
@@ -1538,7 +1543,7 @@ NS_COM int fputs(const nsCString& aString, FILE* out)
|
||||
void nsCString::DebugDump(void) const {
|
||||
|
||||
if(mStr && (eOneByte==mCharSize)) {
|
||||
printf("\n%s",mStr);
|
||||
PRINTF("\n%s",mStr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user