16 lines
386 B
Java
16 lines
386 B
Java
package org.webrtc;
|
|
|
|
import org.webrtc.Logging;
|
|
public class JNILogging {
|
|
private final Loggable loggable;
|
|
|
|
public JNILogging(Loggable loggable) {
|
|
this.loggable = loggable;
|
|
}
|
|
|
|
@CalledByNative
|
|
public void logToInjectable(String str, Integer num, String str2) {
|
|
this.loggable.onLogMessage(str, Logging.Severity.values()[num.intValue()], str2);
|
|
}
|
|
}
|