So far, logs export has been completely absent. In order for logs and events to make it out of the agent, we need logs to be wired up in some form. For now, just like spans, the basic default exporter just logs to the console (visible in logcat). This also adds a method that allows customization, which the demo app now uses to export to the emulator host.
I was able to use this to see events exported as logs in a locally running collector!
And just to be extra clear, this isn't really what #142 is asking for, because it doesn't bridge the android logger...it's just otel logs.
This will rebase after #421 is merged.
So far, logs export has been completely absent. In order for logs and events to make it out of the agent, we need logs to be wired up in some form. For now, just like spans, the basic default exporter just logs to the console (visible in logcat). This also adds a method that allows customization, which the demo app now uses to export to the emulator host.
I was able to use this to see events exported as logs in a locally running collector!
And just to be extra clear, this isn't really what #142 is asking for, because it doesn't bridge the android logger...it's just otel logs.