Logging
Java wrapper for WebRTC logging. Logging defaults to java.util.logging.Logger, but a custom logger implementing the Loggable interface can be injected along with a Severity. All subsequent log messages will then be redirected to the injected Loggable, except those with a severity lower than the specified severity, which will be discarded. It is also possible to switch to native logging (rtc::LogMessage) if one of the following static functions are called from the app: - Logging.enableLogThreads - Logging.enableLogTimeStamps - Logging.enableLogToDebugOutput The priority goes: 1. Injected loggable 2. Native logging 3. Fallback logging. Only one method will be used at a time. Injecting a Loggable or using any of the enable... methods requires that the native library is loaded, using PeerConnectionFactory.initialize.