You can use localStorage for keeping the log, but you cannot export it to file. What you can do, is send all of the strings to your\some server when the user wants to export them into a file and respond with a log file download.
☆PhistucK On Sat, Dec 26, 2009 at 16:11, Aris <alexey.s.shish...@gmail.com> wrote: > Hi. Does Chrome provides some API for writing log-files from an > extension's content script? I lack for this functionality when > debugging my extension. > > And I also want to write user action logger extension. I suppose that > it can be accomplished with writing NPAPI extension, but I need more > lightweight approach. Any suggestion? > > Thanks in advance! > > -- > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To post to this group, send email to chromium-extensi...@googlegroups.com. > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.