How to enable logging on Android?

Based on Logging | WebRTC

I have tried both suggestions, and see no logs. The second approach throws an UnsatifiedLinkError when private static native void nativeEnableLogToDebugOutput(int var0); is called.

Is there any other mechanism to enable logging of webrtc? Thank you.