feat: centralize debug logging with environment control #151

Closed
anomalist wants to merge 1 commits from logging-upgrade into build-improvement
Owner
  • Replace stray console.log statements with logger.debug() for controlled output
  • Add VITE_DEBUG_LOGGING environment variable control for all debug messages
  • Convert databaseUtil, PlatformServiceFactory, and WebPlatformService to use centralized logger
  • Wrap Electron console.log statements with environment variable checks
  • Update SQLWorker to use controlled debug messaging instead of direct console.log
  • Ensure debug logging is disabled by default for production safety

All debug logging now controlled by VITE_DEBUG_LOGGING=true environment variable.

- Replace stray console.log statements with logger.debug() for controlled output - Add VITE_DEBUG_LOGGING environment variable control for all debug messages - Convert databaseUtil, PlatformServiceFactory, and WebPlatformService to use centralized logger - Wrap Electron console.log statements with environment variable checks - Update SQLWorker to use controlled debug messaging instead of direct console.log - Ensure debug logging is disabled by default for production safety All debug logging now controlled by VITE_DEBUG_LOGGING=true environment variable.
anomalist added 1 commit 3 weeks ago
6a622d20b8 feat: centralize debug logging with environment control
anomalist closed this pull request 1 week ago
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.