Skip to content

Route frontend console output through dev logger#385

Open
silentgeckoaudit3801 wants to merge 19 commits into
Quantarq:mainfrom
silentgeckoaudit3801:refactor/frontend-dev-logger-264
Open

Route frontend console output through dev logger#385
silentgeckoaudit3801 wants to merge 19 commits into
Quantarq:mainfrom
silentgeckoaudit3801:refactor/frontend-dev-logger-264

Conversation

@silentgeckoaudit3801

Copy link
Copy Markdown

Closes #264.

Summary

  • add a small logger wrapper that only writes in import.meta.env.DEV
  • route existing frontend console.log/error/warn/debug calls through that wrapper
  • add a Vitest static guard so production source files do not reintroduce raw console. calls

Static validation performed

  • Scanned quantara/frontend/src/**/*.{js,jsx,ts,tsx} on this branch and found zero raw console. references outside src/utils/logger.js.
  • Confirmed the branch is 0 commits behind main.

Testing

  • Not run locally because this workspace is avoiding dependency installation and project toolchain execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strip 51+ console.log from production services

1 participant