On 1/3/13 1:08 PM, Benjamin Smedberg wrote:
Do we know why this was happening? The log module specifies "nsDebug",
and it should only be written to the log if PR_LOG_MODULES includes
"nsDebug".
It's because InitLog in nsDebugImpl does this:
gDebugLog = PR_NewLogModule("nsDebug");
gDebugLog->level = PR_LOG_DEBUG;
and the second line force-enables gDebugLog at the PR_LOG_DEBUG level no
matter what NSPR_LOG_MODULES is set to, as long as it's set, effectively.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform