Media/WebRTC/Logging: Difference between revisions

m
(MOZ_LOG, etc)
Line 3: Line 3:
=== Note about NSPR and MOZ_LOG ===
=== Note about NSPR and MOZ_LOG ===
NSPR has been deprecated in favor of [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ_LOG].
NSPR has been deprecated in favor of [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging MOZ_LOG].
However, these are two parallel logging systems and some webrtc code still uses NSPR. Until Firefox 54, the MOZ_LOG* variables can not be used to control all webrtc logging (in particular 'signaling' and 'webrtc_trace' can't).  Note also that MOZ_LOG is case-sensitive, while NSPR_LOG_MODULES is not.
However, these are two parallel logging systems and some webrtc code still uses NSPR. Before Firefox 54, the MOZ_LOG* variables can not be used to control all webrtc logging (in particular 'signaling' and 'webrtc_trace' can't).  From 54 and later, MOZ_LOG can be used for all logging.  Note also that MOZ_LOG is case-sensitive, while NSPR_LOG_MODULES is not.


=== ICE/STUN/TURN ===
=== ICE/STUN/TURN ===
Confirmed users
325

edits