A console widget for viewing logs in your browser.
Now, you can easily see console.log
in every browser,
even on mobile.
Also, the bottom is sticky - unlike chrome dev tools - so if you are scrolled to the bottom, output will track new messages, but if you scroll up, you can focus on old ones.
USE WITH BROWSERIFY
if(DEVELOPMENT) require('console-log')
will add a widget in the bottom right corner of your screen.
If you want more control, and want to insert it into the DOM your self, you can access the core yourself.
var logger = require('console-log/widget')()
document.body.appendChild(logger.element)
logger.write('hello')
MIT