member5320 Ответов: 0

Как записать журналы расширений chrome в файл


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.


Что я уже пробовал:

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


тоже
var bkg = chrome.extension.getBackgroundPage();
bkg.console.log('foo');

0 Ответов