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);
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:
Describe the solution you'd like
I want to create a simple logging utility that:
Something like: