logcat icon indicating copy to clipboard operation
logcat copied to clipboard

Integration with Analytics SDKs for example Firebase Analytics

Open mibrahimdev opened this issue 4 years ago • 1 comments

Is there a way to integrate it with Analytics tools?

mibrahimdev avatar Nov 25 '21 20:11 mibrahimdev

The api for LogcatLogger lends itself to doing so via a delegation like pattern. You'll have to basically come up with a parent CompositeLogger that then delegates the logging calls to individual loggers provided into the parent logger.

I have a basic implementation of this here (if you're curious for code).

As mentioned in issue #24 though, concurrency can be a problem.

kaushikgopal avatar Dec 02 '24 16:12 kaushikgopal

Thanks for the answer @kaushikgopal ! #24 is fixed now.

pyricau avatar Jul 21 '25 09:07 pyricau