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

Side by Side Diff: webrtc/base/java/src/org/webrtc/Logging.java

Issue 2203723002: Re-order and remove unused Java imports. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix a comment. Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 package org.webrtc; 11 package org.webrtc;
12 12
13 import java.io.PrintWriter; 13 import java.io.PrintWriter;
14 import java.io.StringWriter; 14 import java.io.StringWriter;
15 import java.util.EnumSet; 15 import java.util.EnumSet;
16 import java.util.logging.Level;
16 import java.util.logging.Logger; 17 import java.util.logging.Logger;
17 import java.util.logging.Level;
18 18
19 /** Java wrapper for WebRTC logging. */ 19 /** Java wrapper for WebRTC logging. */
20 public class Logging { 20 public class Logging {
21 private static final Logger fallbackLogger = Logger.getLogger("org.webrtc.Logg ing"); 21 private static final Logger fallbackLogger = Logger.getLogger("org.webrtc.Logg ing");
22 private static volatile boolean tracingEnabled; 22 private static volatile boolean tracingEnabled;
23 private static volatile boolean loggingEnabled; 23 private static volatile boolean loggingEnabled;
24 private static volatile boolean nativeLibLoaded; 24 private static volatile boolean nativeLibLoaded;
25 25
26 static { 26 static {
27 try { 27 try {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 return sw.toString(); 178 return sw.toString();
179 } 179 }
180 180
181 private static native void nativeEnableTracing( 181 private static native void nativeEnableTracing(
182 String path, int nativeLevels); 182 String path, int nativeLevels);
183 private static native void nativeEnableLogToDebugOutput(int nativeSeverity); 183 private static native void nativeEnableLogToDebugOutput(int nativeSeverity);
184 private static native void nativeEnableLogThreads(); 184 private static native void nativeEnableLogThreads();
185 private static native void nativeEnableLogTimeStamps(); 185 private static native void nativeEnableLogTimeStamps();
186 private static native void nativeLog(int severity, String tag, String message) ; 186 private static native void nativeLog(int severity, String tag, String message) ;
187 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698