termlog.js
Wraps browser console to display log messages in web terminal powered by term.js
USAGE
Include termlog.js
to your html page and call terminal.open()
as part of initialization block like in example below.
window.onload = function() {
terminal.open();
console.log('log %s', 'message');
console.warn('warn %s', 'message');
console.error('error %s', 'message');
console.debug('debug %s', 'message');
};