Pushwoosh / pushwoosh-appcelerator-titanium

Other
33 stars 16 forks source link

Optional logging? #22

Closed rborn closed 8 years ago

rborn commented 8 years ago

Could we have an option we could set in JS to display or not the logs? While during development this is fine, in production the logs should not be there.

Thank you.

shaders commented 8 years ago

You can control logs level this way: iOS: http://docs.pushwoosh.com/docs/native-ios-sdk look for (Controlling Log Level) Android: http://docs.pushwoosh.com/docs/androidmanifestxml-modifications look for (Controlling Log Level)

rborn commented 8 years ago

And this applies to the titanium module as well? I'll try, thank you 😄

rborn commented 8 years ago

@shaders it worked, thank you!