Title: [216092] trunk/Source/WebCore
Revision
216092
Author
[email protected]
Date
2017-05-02 13:30:03 -0700 (Tue, 02 May 2017)

Log Message

[LibWebRTC] Set explicitly logging level in debug mode
https://bugs.webkit.org/show_bug.cgi?id=171562

Patch by Youenn Fablet <[email protected]> on 2017-05-02
Reviewed by Eric Carlson.

No change of behavior.

* platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
(WebCore::initializePeerConnectionFactoryAndThreads): Setting explictly LibWebRTC logging to Info level for
debug builds if WebRTC channel is on.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (216091 => 216092)


--- trunk/Source/WebCore/ChangeLog	2017-05-02 20:28:50 UTC (rev 216091)
+++ trunk/Source/WebCore/ChangeLog	2017-05-02 20:30:03 UTC (rev 216092)
@@ -1,3 +1,16 @@
+2017-05-02  Youenn Fablet  <[email protected]>
+
+        [LibWebRTC] Set explicitly logging level in debug mode
+        https://bugs.webkit.org/show_bug.cgi?id=171562
+
+        Reviewed by Eric Carlson.
+
+        No change of behavior.
+
+        * platform/mediastream/libwebrtc/LibWebRTCProvider.cpp:
+        (WebCore::initializePeerConnectionFactoryAndThreads): Setting explictly LibWebRTC logging to Info level for
+        debug builds if WebRTC channel is on.
+
 2017-05-02  Joanmarie Diggs  <[email protected]>
 
         AX: Update implementation of aria-orientation

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


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2017-05-02 20:28:50 UTC (rev 216091)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCProvider.cpp	2017-05-02 20:30:03 UTC (rev 216092)
@@ -103,8 +103,7 @@
     rtc::LogMessage::LogToDebug(rtc::LS_NONE);
 #endif
 #else
-    if (LogWebRTC.state != WTFLogChannelOn)
-        rtc::LogMessage::LogToDebug(rtc::LS_WARNING);
+    rtc::LogMessage::LogToDebug(LogWebRTC.state != WTFLogChannelOn ? rtc::LS_WARNING : rtc::LS_INFO);
 #endif
     auto& factoryAndThreads = staticFactoryAndThreads();
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to