Found 41 instances of console.log/error/warn statements throughout the source code that should be replaced with the proper logging system.
Files Affected: Multiple files across services, webview, and utils directories
Examples:
services/layout-persistence.ts:83,130
services/test-discovery-service.ts:78,131,238
webview/bootstrap.ts:24,57,71,78
webview/world.ts:163,372,429
Issues:
- Performance overhead from console operations
- Potential information leakage in production
- Inconsistent logging approach (mix of console and Logger class)
- Debug statements left in production code
Recommendations:
- Replace all console.* calls with the existing Logger system
- Ensure proper log levels are used
- Remove debug console.log statements from production builds
- Add ESLint rule to prevent console statements in source code
Found 41 instances of console.log/error/warn statements throughout the source code that should be replaced with the proper logging system.
Files Affected: Multiple files across services, webview, and utils directories
Examples:
services/layout-persistence.ts:83,130services/test-discovery-service.ts:78,131,238webview/bootstrap.ts:24,57,71,78webview/world.ts:163,372,429Issues:
Recommendations: