Log message on RegisterFactory() change.

This commit is contained in:
dp%netscape.com 1999-04-05 04:32:36 +00:00
parent 11e97a3f9f
commit 5c8e1841b2
2 changed files with 4 additions and 2 deletions

View File

@ -1213,7 +1213,8 @@ nsComponentManagerImpl::RegisterFactory(const nsCID &aClass,
if (PR_LOG_TEST(nsComponentManagerLog, PR_LOG_ALWAYS))
{
char *buf = aClass.ToString();
PR_LogPrint("nsComponentManager: RegisterFactory(%s, factory), replace = %d.", buf, (int)aReplace);
PR_LogPrint("nsComponentManager: RegisterFactory(%s, %s, %s), replace = %d.",
buf, aClassName, aProgID, (int)aReplace);
delete [] buf;
}
#endif

View File

@ -1213,7 +1213,8 @@ nsComponentManagerImpl::RegisterFactory(const nsCID &aClass,
if (PR_LOG_TEST(nsComponentManagerLog, PR_LOG_ALWAYS))
{
char *buf = aClass.ToString();
PR_LogPrint("nsComponentManager: RegisterFactory(%s, factory), replace = %d.", buf, (int)aReplace);
PR_LogPrint("nsComponentManager: RegisterFactory(%s, %s, %s), replace = %d.",
buf, aClassName, aProgID, (int)aReplace);
delete [] buf;
}
#endif