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 2005-08-18 11:15:55 +00:00
Родитель 4b329258b0
Коммит 031be859cd
1 изменённых файлов: 4 добавлений и 9 удалений

Просмотреть файл

@ -35,11 +35,6 @@
#include "nsIDocShellTreeNode.h"
#include "nsIDocShellLoadInfo.h"
#include "nsIServiceManager.h"
#include "nslog.h"
NS_IMPL_LOG(nsSHistoryLog)
#define PRINTF NS_LOG_PRINTF(nsSHistoryLog)
#define FLUSH NS_LOG_FLUSH(nsSHistoryLog)
//*****************************************************************************
//*** nsSHistory: Object Management
@ -268,10 +263,10 @@ nsSHistory::PrintHistory()
nsString titlestr(title);
titleCStr = titlestr.ToNewCString();
PRINTF("**** SH Transaction #%d, Entry = %x\n", index, entry.get());
PRINTF("\t\t URL = %s\n", url);
PRINTF("\t\t Title = %s\n", titleCStr);
PRINTF("\t\t layout History Data = %x\n", layoutHistoryState);
printf("**** SH Transaction #%d, Entry = %x\n", index, entry.get());
printf("\t\t URL = %s\n", url);
printf("\t\t Title = %s\n", titleCStr);
printf("\t\t layout History Data = %x\n", layoutHistoryState);
Recycle(titleCStr);
#endif