I’ve created userscript to extend browser console.
Basic options:
- own console object with all methods to prevent errors in old browsers
- using console without context (we can pass console.log as a callback, and no “Illegal invocation” error will be shown)
- production param (debug information only for dev environment )
- time and timeEnd methods (if they are not exist)
- log alias for console.log
sources of inspiration:
- https://github.com/theshock/console-cap
- Log() – a Lightweight Wrapper for console.log
- http://habrahabr.ru/post/116852/