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:
warren%netscape.com
2000-10-27 22:43:51 +00:00
parent e7c9040b5e
commit c6b67eceeb
757 changed files with 10724 additions and 8223 deletions

View File

@@ -33,6 +33,11 @@
#include "nsScrollPortView.h"
#include "nsIModule.h"
#include "nslog.h"
NS_IMPL_LOG(nsViewFactoryLog)
#define PRINTF NS_LOG_PRINTF(nsViewFactoryLog)
#define FLUSH NS_LOG_FLUSH(nsViewFactoryLog)
static NS_DEFINE_CID(kCViewManager, NS_VIEW_MANAGER_CID);
static NS_DEFINE_CID(kCView, NS_VIEW_CID);
@@ -262,9 +267,7 @@ nsViewModule::RegisterSelf(nsIComponentManager *aCompMgr,
{
nsresult rv;
#ifdef DEBUG_dp
printf("***Registering view library...");
#endif
PRINTF("***Registering view library...");
rv = aCompMgr->RegisterComponentSpec(kCViewManager, "View Manager",
"@mozilla.org/view-manager;1",
@@ -281,9 +284,7 @@ nsViewModule::RegisterSelf(nsIComponentManager *aCompMgr,
rv = aCompMgr->RegisterComponentSpec(kCScrollPortView, "Scroll Port View",
"@mozilla.org/scroll-port-view;1",
aPath, PR_TRUE, PR_TRUE);
#ifdef DEBUG_dp
printf("done.\n");
#endif
PRINTF("done.\n");
return rv;
}