customerio / customerio-reactnative

MIT License
25 stars 13 forks source link

Send log to the JS thread #128

Closed jbtheard closed 1 year ago

jbtheard commented 1 year ago

Is your feature request related to a problem? Please describe. Though I have setup the config with config.logLevel = CioLogLevel.info I don't see anything in my console (using Expo)

Describe the solution you'd like Logs to appear in the Expo console.

Describe alternatives you've considered Would be good to be able to configure our own logger, so that I can also send these logs to a dedicated service while in production

mrehan27 commented 1 year ago

Hi @jbtheard. Thanks for sharing the details and use case for this. We don't really have anything similar in our plan at the moment, but I'll open a request internally for this so we can discuss and prioritize. We'll update here if we make a progress to help you achieve the goal.

jbtheard commented 1 year ago

@mrehan27 I actually have a question: where are they suppose to be seen at the moment ? I can't see any log regarding that sdk...

mrehan27 commented 1 year ago

@jbtheard SDK logs are currently available in native consoles only. You can view them by following the expo docs for viewing logs

jbtheard commented 1 year ago

I have followed instructions here and yet I don't know where your logs can be viewed. Can you be more specific on point (4) so that I can see customer.io logs ?

mrehan27 commented 1 year ago

Sure @jbtheard. Can you take a look these links and see if they help you find native logs?

Shahroz16 commented 1 year ago

Closing due to inactivity.