A polymer element and javascript library for your ServiceWorker that will store logging.  The element can display these logs on controlled pages, as well as log them to the console.