Bug 1165515 - Part 4: Add PR_LOG_INFO. r=froydnj
☠☠ backed out by 3c8ed81098dd ☠ ☠
authorEric Rahm <erahm@mozilla.com>
Mon, 01 Jun 2015 22:17:20 -0700
changeset 279045 50970d668ca1d67b56ebe5d844bb8fca569f43cd
parent 279044 ffa4eb6d24b94146df5838e10b039e8b176c8edb
child 279046 9370fa1976748aedebd02a13780d736e2e4e0cd5
push id897
push userjlund@mozilla.com
push dateMon, 14 Sep 2015 18:56:12 +0000
treeherdermozilla-release@9411e2d2b214 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1165515
milestone41.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1165515 - Part 4: Add PR_LOG_INFO. r=froydnj This is an interstitial step in preparation for adding a new info level. For now it just maps to debug.
xpcom/glue/Logging.h
--- a/xpcom/glue/Logging.h
+++ b/xpcom/glue/Logging.h
@@ -9,16 +9,18 @@
 
 #include "prlog.h"
 
 // This file is a placeholder for a replacement to the NSPR logging framework
 // that is defined in prlog.h. Currently it is just a pass through, but as
 // work progresses more functionality will be swapped out in favor of
 // mozilla logging implementations.
 
+#define PR_LOG_INFO PR_LOG_DEBUG
+
 #define MOZ_LOG PR_LOG
 
 // Tests if a module has enabled the given log level.
 // NB: _module can be null.
 #define MOZ_LOG_TEST(_module, _level) \
   ((_module) && (_module)->level >= (_level))
 
 #endif // mozilla_logging_h