[FEAT] Replace console.log statements with production-ready logging system
Is your feature request related to a problem? Please describe. Yes, I've noticed the codebase has a lot of console.log statements everywhere (I found 50+ instances). This is a problem because:
- Console logs in production can leak sensitive data
- There's no way to control what gets logged in different environments
- Makes debugging harder since everything just dumps to console
- I'm frustrated when trying to find actual errors among all the debug logs
Describe the solution you'd like I want to create a simple logging utility that:
- Has different levels (debug, info, warn, error)
- Automatically turns off debug logs in production
- Keeps the same simple API so it's easy to replace console.log
Something like:
// Instead of console.log
logger.debug('User data:', data);
logger.error('Failed to save', error);
Thank you for raising this issue!
We'll review it as soon as possible. We truly appreciate your contributions! ✨
Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊
Hi @deepanshusingla076,
I am a GSSoC 2026 contributor and would like to work on this issue.
I reviewed the issue description and understand the need for a centralized logging system with different log levels and production-safe behavior. I would like to investigate the current logging usage across the codebase, implement a reusable logging utility, and replace existing console.log statements while maintaining compatibility with the current codebase.
Could you please assign this issue to me?
Thank you!