I created a web extension (Firefox). I want to add logs to a file (example: console.txt) from the content scripts and the background script. For example : write "Begin