Skip to content

Guard production console logging behind a DEBUG flag #5

@Najariya

Description

@Najariya

Goal

Reduce noisy console output in production paths while keeping debugging easy during development.

Scope

  • Add a small debug logging helper or DEBUG constant
  • Keep useful error logging
  • Wrap routine console.log / console.warn statements that are only needed during development

Done when

  • Normal capture/viewer use no longer writes noisy routine logs
  • Error logs remain available for real failures
  • JavaScript syntax checks still pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions