How to enable OpenCV internal logs from Android JNI


I am using opencv c++ in Android native JNI.

I am linking to my android native jni file.

I am including opencv headers from opencv2.

I want to enable opencv internal logs and see them in Android studio or in logcat.

I have tried with cv::utils::logging::setLogLevel(utils::logging::LOG_LEVEL_VERBOSE);
but not getting logs.

I could see some android logs related stuff in modules/core/src/logger.cpp but not able to enable.

Can some one help me in enabling internal opencv logs in android.

Thanks and Regards
Rajesh Chanda