Sunday, 7 February 2021

How to print to Android Studio Logcat from (fork of) Third Party Library?

I'm currently working with a fork of a third party library for Android and would like to print some information to the Android Studio console (Logcat). Normally you can simply call something like:

Log.i("mytag", "my message here");

But this doesn't seem to work when calling from a library. Does anyone know how to go about printing to the Android Studio Logcat Console from a library? Any tips or hints pointing me in the right direction would be appreciated! Thanks

UPDATE: This is a native Java/Android library for React-Native. The library I'm working with is a fork of react-native-webview. I don't know if any of that information is particularly important, but for context I thought I should mention the specifics of what I'm working with.



from How to print to Android Studio Logcat from (fork of) Third Party Library?

No comments:

Post a Comment