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

@@ -29,15 +29,20 @@
#include "OLE2.h"
#include "URLMON.h"
#include "nslog.h"
NS_IMPL_LOG(nsDataObjCollectionLog, 0)
#define PRINTF NS_LOG_PRINTF(nsDataObjCollectionLog)
#define FLUSH NS_LOG_FLUSH(nsDataObjCollectionLog)
#if 0
#define PRNTDEBUG(_x) printf(_x);
#define PRNTDEBUG2(_x1, _x2) printf(_x1, _x2);
#define PRNTDEBUG3(_x1, _x2, _x3) printf(_x1, _x2, _x3);
#define PRNTDEBUG(_x) PRINTF(_x);
#define PRNTDEBUG2(_x1, _x2) PRINTF(_x1, _x2);
#define PRNTDEBUG3(_x1, _x2, _x3) PRINTF(_x1, _x2, _x3);
#else
#define PRNTDEBUG(_x) // printf(_x);
#define PRNTDEBUG2(_x1, _x2) // printf(_x1, _x2);
#define PRNTDEBUG3(_x1, _x2, _x3) // printf(_x1, _x2, _x3);
#define PRNTDEBUG(_x) // PRINTF(_x);
#define PRNTDEBUG2(_x1, _x2) // PRINTF(_x1, _x2);
#define PRNTDEBUG3(_x1, _x2, _x3) // PRINTF(_x1, _x2, _x3);
#endif
ULONG nsDataObjCollection::g_cRef = 0;