Open redex-ai opened 11 months ago
The plan includes adding logging across all backend Python files and frontend JavaScript files to track application flow, data processing, and error handling. Backend logging will be added to views, serializers, models, and tests, while frontend logging will be added to the main index file, App component, pages, and list item component.
Add logging to each function to log entry, exit, and any exceptions.
Add logging to capture serialization and deserialization processes.
Add logging in the save and delete methods of the Note model to log actions performed on objects.
Add logging to each test case to log test start, end, and any failures or errors.
Configure logging settings to specify log levels, formats, and destinations (file, console, etc.).
Add console logging to log the application start and any uncaught exceptions.
Add console logging to log component mounts, updates, and unmounts.
Add console logging to log page rendering and any API call results.
Add console logging to log the fetching of notes and any errors.
Add console logging to log rendering of list items.
PULL REQUEST : https://github.com/redex-ai/django-notes-app/pull/16
Add logs across every source code file - on both backend and frontend code