Skip to content

feat: exclude DEV server from network logs #1307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Dec 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: exclude DEV server url from network logs
  • Loading branch information
ahmedAlaaInstabug committed Nov 6, 2024
commit e49889175b4676b4be29cd6d4244a009c30f0a8c
3 changes: 0 additions & 3 deletions src/modules/NetworkLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ export const setEnabled = (isEnabled: boolean) => {
if (__DEV__) {
const devServerURL = getDevServerURL();
const networkServerURL = filterURL(network.url);
console.log('Dev Server URL:', devServerURL);
console.log('Network Server URL:', networkServerURL);

// Skip logging for requests to the dev server
if (devServerURL === networkServerURL) {
return;
Expand Down