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:
@@ -44,6 +44,12 @@ extern JSClass WinProfileClass;
|
||||
#endif
|
||||
|
||||
#include "nsJSFileSpecObj.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsJSInstallLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsJSInstallLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsJSInstallLog)
|
||||
|
||||
extern JSClass FileSpecObjectClass;
|
||||
|
||||
extern JSClass FileOpClass;
|
||||
@@ -1642,7 +1648,7 @@ InstallTRACE(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
|
||||
char *tempStr;
|
||||
tempStr = b0.ToNewCString();
|
||||
printf("Install:\t%s\n", tempStr);
|
||||
PRINTF("Install:\t%s\n", tempStr);
|
||||
|
||||
Recycle(tempStr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user