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 2025-07-31 03:34:41 +00:00
- 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 closed this pull request 2025-08-14 02:04:20 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trent_larson/crowd-funder-for-time-pwa#151