Bug 1275744 - Reference MOZ_LOG in windows widget comments. r=erahm draft
authorRalph Giles <giles@mozilla.com>
Thu, 26 May 2016 11:19:40 -0700
changeset 377604 414c36ba498bf22e71b2407f6ce6291e1b8ec527
parent 377603 2f94c5697ee4a1789d37485da9176e79d85c4f86
child 377605 850cf36d73eaa503dc9f0fad1dcadd9d097bb0c9
push id20838
push userbmo:giles@thaumas.net
push dateFri, 10 Jun 2016 20:57:58 +0000
reviewerserahm
bugs1275744
milestone50.0a1
Bug 1275744 - Reference MOZ_LOG in windows widget comments. r=erahm NSPR_LOG_MODULES is deprecated. MozReview-Commit-ID: GbK7Qctk44
widget/windows/nsdefs.h
--- a/widget/windows/nsdefs.h
+++ b/widget/windows/nsdefs.h
@@ -15,31 +15,31 @@
 #endif  
 
 #ifdef _DEBUG
   #define VERIFY(exp)                 if (!(exp)) { GetLastError(); BREAK_TO_DEBUGGER; }
 #else   // !_DEBUG
   #define VERIFY(exp)                 (exp)
 #endif  // !_DEBUG
 
-// NSPR Win32 modules:
+// Win32 logging modules:
 // nsWindow, nsSound, and nsClipboard
 //
 // Logging can be changed at runtime without recompiling in the General
 // property page of Visual Studio under the "Environment" property.
 //
 // Two variables are of importance to be set: 
-// NSPR_LOG_MODULES and NSPR_LOG_FILE
+// MOZ_LOG and MOZ_LOG_FILE
 //
-// NSPR_LOG_MODULES:
-// NSPR_LOG_MODULES=all:5         (To log everything completely)
-// NSPR_LOG_MODULES=nsWindow:5,nsSound:5,nsClipboard:5 
-//                                (To log windows widget stuff)
-// NSPR_LOG_MODULES=              (To turn off logging)
+// MOZ_LOG:
+// MOZ_LOG=all:5                 (To log everything completely)
+// MOZ_LOG=nsWindow:5,nsSound:5,nsClipboard:5
+//                               (To log windows widget stuff)
+// MOZ_LOG=                      (To turn off logging)
 //
-// NSPR_LOG_FILE:
-// NSPR_LOG_FILE=C:\nsprlog.txt   (To a file on disk)
-// NSPR_LOG_FILE=WinDebug         (To the debug window)
-// NSPR_LOG_FILE=                 (To stdout/stderr)
+// MOZ_LOG_FILE:
+// MOZ_LOG_FILE=C:\log.txt       (To a file on disk)
+// MOZ_LOG_FILE=WinDebug         (To the debug window)
+// MOZ_LOG_FILE=                 (To stdout/stderr)
 
 #endif  // NSDEFS_H