wanderlust
wanderlust copied to clipboard
[ENHANCEMENT] Implement Heap Logging
Description
I propose adding heap logging functionality to the application. Heap logging can help us monitor memory usage and identify potential memory leaks, it can also help us quickly identify any issue if it arises.
Current Behavior
Currently there are some console.logs in the client part which is a security risk and generally not considered a good practice for in-production apps.
Proposed Enhancement
I propose integrating heap logging functionality into our application. Heap logging is instrumental in monitoring memory usage, detecting memory leaks, and swiftly pinpointing any arising issues. It should be implemented at both major and minor points of the application, categorizing logs into information, warning, error, and other relevant levels. Please note that heap logging differs from console logging, as heap logging is intended for developer visibility only. Therefore, we need a solution that ensures logs are accessible only to developers, while ensuring the heap logging functionality works seamlessly in production environments.
Use Case
It would be helpful in fast debugging when the project is in production and will also help developers get an insight on the behaviour of the application.
Blockers
No response
Additional Information/ Attachments
No response
I hope you're doing great! As a GSSoC contributor, I'm keen on ramping up my involvement for GSSoC'24. Could you please assign this issue to me? I'm excited to continue contributing to the project. Thanks a bunch!