Does sentry-expo overwrite console.log

Please provide the following:

  1. SDK Version: Expo 45, sentry-expo 4.2.0
  2. Platforms(Android/iOS/web/all): All
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I tried to remove console log from production by placing this at the start of my app

 * Remove logging in production
if (!__DEV__) {
  console.log = () => { };

However, on the sentry website I can still see the logs. Does console.log get overwritten by sentry-expo?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.