Debugging component
I would like to get more logs from users when something is wrong, but avoid to have to tell them to open their browser's console and reload the page with #converse?loglevel=debug
.
This component would:
- Redirect any output on a
console.*
to an object before showing them on the console - Add a button on "A propos" saying "Exporter les journaux"
- When the user click on this button, every logs should be sent to a bin api (let say pastebin)
- A small pop-up come, with a link to share for the created bin
- The user can also generate this bin link by using
exportLogs()
on it's browser console, in case they can't reach the "A Propos" page
While we'll still miss some information like "What is the problem?" and "How things are going on your network tab?", we'll at least have a complete debug log that can be added to every issues.