There are multiple console.log statements in the production code that should be replaced with a proper logging system. This would improve maintainability, configurability, and make it easier to control log levels in different environments.
Found console.log statements in:
- src/server.ts
- src/tools/mouse.ts
- src/providers/keysender/keyboard.ts
- src/providers/keysender/mouse.ts
- src/providers/keysender/screen.ts
Recommended actions:
- Replace direct console.log/error/warn calls with a configurable logger
- Implement log levels (debug, info, warn, error)
- Allow configuring log verbosity via environment variables
- Consider adding log rotation for file-based logging
- Make sure logs don't contain sensitive information
There are multiple console.log statements in the production code that should be replaced with a proper logging system. This would improve maintainability, configurability, and make it easier to control log levels in different environments.
Found console.log statements in:
Recommended actions: