Bug 1072605 - Just use PR_LOGGING to determine if logging is enabled. r=Bas