Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.

This commit is contained in:
warren@netscape.com
2000-10-28 22:17:53 +00:00
parent db63f8d3ec
commit 0462ea4ce8
675 changed files with 7622 additions and 9767 deletions

View File

@@ -32,11 +32,6 @@
#include "nsConsoleService.h"
#include "nsConsoleMessage.h"
#include "nslog.h"
NS_IMPL_LOG(nsConsoleServiceLog)
#define PRINTF NS_LOG_PRINTF(nsConsoleServiceLog)
#define FLUSH NS_LOG_FLUSH(nsConsoleServiceLog)
NS_IMPL_THREADSAFE_ISUPPORTS(nsConsoleService, NS_GET_IID(nsIConsoleService));
@@ -80,9 +75,10 @@ nsConsoleService::~nsConsoleService()
nsresult rv;
rv = mListeners->Count(&listenerCount);
if (listenerCount != 0) {
PRINTF("WARNING - %d console error listeners still registered!\n"
"More calls to nsIConsoleService::UnregisterListener needed.\n",
listenerCount);
fprintf(stderr,
"WARNING - %d console error listeners still registered!\n"
"More calls to nsIConsoleService::UnregisterListener needed.\n",
listenerCount);
}
}
#endif