Console.Re is remote JavaScript console. You can send log, debug or test information from any webpage, web mobile app or node.js server to remote logger and view results on any device: tablet, phone or desktop in a separate browser window.
Connector script extends console object adding new methods for sending messages to remote logger with:
console.re.log() console.re.info() console.re.debug() console.re.warn() console.re.error() console.re.count() console.re.test() console.re.assert() console.re.time() console.re.type() console.re.timeEnd() console.re.now() console.re.trace() console.re.clear() console.re.mark()
Moreover, while using in browsers, you can log information about DOM elements, CSS properties, track Media Queries and Window size changes with:
console.re.size() console.re.css() console.re.media()
What's New
Console API has new methods.
You can send more information from client to logger with:
console.re.now(label) - returns the relative distance between two time points, measured in milliseconds
console.re.type() - returns the type of a variable or property
console.re.mark([label]) - action to mark current log position in console output with optional label
Console connector has a new options:
redirectDefaultConsoleToRemote - (:boolean) if true, default calls to console.[log|warn|error|debug] methods will be redirected to remote console log calls
disableDefaultConsoleOutput (:boolean) - if true, default console log output will be removed for all remote console log calls
server (:string) - remote console server full url, to connect and output remote logs to another remote console server, default is http://console re
Console API shortcuts:
relog() shortcut for console.re.log()
Instead of using console.re.log('test'), now you can use a shortcut relog('test')
re.[api]() shortcut for console.re.[api]()
Instead of using console.re.log('test'), now you can use a shortcut re.log('test') or console.re.test('test') has shortcuts re.test('test')
console.re.[api] shortcuts
Instead of using console.re.log('test'), now you can use a shortcut console.re.l('test') or re.l('test')
Supported Platforms
Connector (client) script works in all major browsers (desktop or mobile) and node.js servers running on Linux, Mac, and Windows.
Desktop browsers:
- Microsoft Edge 1+
- Google Chrome 4+
- Mozilla Firefox 3+
- Apple Safari 3+
- Opera 10+
Mobile browsers:
- iPhone Safari
- iPad Safari
- Android WebKit
- WebOs WebKit
- Smart TV
Servers:
- Node.js
- Shell via Command Line Interface
Features
- Realtime, cross browser development and device independent testing
- Remote logging and debugging with extended console API
- View logs on any mobile device, tablet or phones (iOS, Android, Windows)
- Easy to read, log output for Objects, Array, JSON, HTML and CSS
- Faster Responsive Design development with Media Query logging and tracking
- Watch Media Query changes on browser resize and device orientation change
- Using [BBcodes] display log information in different styles and colors
- Better logging output with string and number interpolation using %s and %d
- Connector script is light, framework independent, pure JavaScript solution
- Supports major browsers and can be used for desktop and mobile web apps
- Works on server in Node.js running on Linux, Mac, Windows
- Command line (CLI) on server allows to send remote logs from OS shell
Enjoy faster web development process!