зеркало из https://github.com/mozilla/pjs.git
bug 583636 make cookie logging work in release builds
r=dwitte a=dbaron --HG-- extra : rebase_source : 98390eebae433930799ebe4d70bce5bb9667232f
This commit is contained in:
Родитель
fd32aa81ab
Коммит
aab736e2e2
|
@ -39,6 +39,12 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
|
||||
#ifdef MOZ_LOGGING
|
||||
// this next define has to appear before the include of prlog.h
|
||||
#define FORCE_PR_LOG // Allow logging in the release build
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_IPC
|
||||
#include "mozilla/net/CookieServiceChild.h"
|
||||
#include "mozilla/net/NeckoCommon.h"
|
||||
|
@ -204,8 +210,6 @@ struct nsEnumerationData
|
|||
// set NSPR_LOG_MODULES=cookie:4 -- shows accepted and rejected cookies
|
||||
// set NSPR_LOG_FILE=cookie.log
|
||||
//
|
||||
// this next define has to appear before the include of prlog.h
|
||||
#define FORCE_PR_LOG // Allow logging in the release build
|
||||
#include "prlog.h"
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче