mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Log message on RegisterFactory() change.
This commit is contained in:
parent
11e97a3f9f
commit
5c8e1841b2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user