How to redirect console.log in Mozilla Addon

2 views
Skip to first unread message

Sravan Kumar Reddy Javaji

unread,
Mar 7, 2015, 10:35:02 PM3/7/15
to evang...@lists.mozilla.org, dev-ext...@lists.mozilla.org
Hello Everyone,

I am working on Mozilla add-on. I am printing some message using
console.log() in the add-on. Now I would like to redirect those output to a
file. I am using the below two techniques, but nothing is working. Could
someone please let me know what may be the issue.

*cfx run --binary-args="-url www.google.com <http://www.google.com>"
--logfile=logfile*

*cfx run --binary-args="-url www.google.com <http://www.google.com>" >
log.log*

Thanks for your help and time.

-
Regards,
Sravan
Reply all
Reply to author
Forward
0 new messages