Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I'm working with the chrome extension and I would like to save the console.log items to file so that I could retain the logs and review it. Is there any way to save log in chrome extension.

Found chrome.filesystem but it cant be used in chrome extension. read that chrom.filesystem is using in chrome ap to save the log. also cant use the fs package like we are using in the javascript program.


What I have tried:

i tried to use html5 file system but it is not supporting in chrome extension –


also
var bkg = chrome.extension.getBackgroundPage();
bkg.console.log('foo');
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900