Title: [214445] trunk/Source/WebCore
Revision
214445
Author
[email protected]
Date
2017-03-27 17:32:56 -0700 (Mon, 27 Mar 2017)

Log Message

Activate release libwebrtc logging when WebRTC log channel is on
https://bugs.webkit.org/show_bug.cgi?id=169659

Patch by Youenn Fablet <[email protected]> on 2017-03-27
Reviewed by Alex Christensen.

* platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
(WebCore::initializePeerConnectionFactoryAndThreads):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (214444 => 214445)


--- trunk/Source/WebCore/ChangeLog	2017-03-28 00:16:09 UTC (rev 214444)
+++ trunk/Source/WebCore/ChangeLog	2017-03-28 00:32:56 UTC (rev 214445)
@@ -1,3 +1,13 @@
+2017-03-27  Youenn Fablet  <[email protected]>
+
+        Activate release libwebrtc logging when WebRTC log channel is on
+        https://bugs.webkit.org/show_bug.cgi?id=169659
+
+        Reviewed by Alex Christensen.
+
+        * platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
+        (WebCore::initializePeerConnectionFactoryAndThreads):
+
 2017-03-27  Antti Koivisto  <[email protected]>
 
         Move visibleInViewportStateChanged callback from Element to render tree

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp (214444 => 214445)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2017-03-28 00:16:09 UTC (rev 214444)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2017-03-28 00:32:56 UTC (rev 214445)
@@ -88,7 +88,11 @@
 static void initializePeerConnectionFactoryAndThreads()
 {
 #if defined(NDEBUG)
+#if !LOG_DISABLED || !RELEASE_LOG_DISABLED
+    rtc::LogMessage::LogToDebug(LogWebRTC.state != WTFLogChannelOn ? rtc::LS_NONE : rtc::LS_INFO);
+#else
     rtc::LogMessage::LogToDebug(rtc::LS_NONE);
+#endif
 #else
     if (LogWebRTC.state != WTFLogChannelOn)
         rtc::LogMessage::LogToDebug(rtc::LS_WARNING);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to