Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java

Issue 2110853003: Separate the JNI function that controls logging levels into two. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Separated the tracing/logging enabled flags Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/java/src/org/webrtc/Logging.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
index 532c0166129bd2a5895619e74d072d38911a6ba4..e8e1f85039199e1c196487dbf6c3115a69f62fbf 100644
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
@@ -490,8 +490,8 @@ public class PeerConnectionClient {
// NOTE: this _must_ happen while |factory| is alive!
Logging.enableTracing(
"logcat:",
- EnumSet.of(Logging.TraceLevel.TRACE_DEFAULT),
- Logging.Severity.LS_INFO);
+ EnumSet.of(Logging.TraceLevel.TRACE_DEFAULT));
+ Logging.enableLogToDebugOutput(Logging.Severity.LS_INFO);
mediaStream = factory.createLocalMediaStream("ARDAMS");
if (videoCallEnabled) {
« no previous file with comments | « webrtc/base/java/src/org/webrtc/Logging.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698