shrimp is a lightweight JavaScript logging/debugging tool that provides:
- a consistent console UI accross IE8+, Chrome, Firefox, and Safari
- easy access to non-developers such as users or QA testers (just append
#debug
to the URL)
Internet Explorer (even IE10) developer tools do not show useful information when logging objects. For example:
When the shrimp log is opened, this is what it looks like in all supported browsers:
Include shrimp.js
on your page. It has no external dependencies.
- shrimp.js (~3KB, uncompressed)
- shrimp.min.js (~0.4KB, compressed and gzipped)
shrimp.log(object)
- text/object will appear in blackshrimp.error(object)
- text/object will appear in redshrimp.info(object)
- text/object will appear in blue
shrimp will record all logs even while the console is closed. To open the console, append #debug
to the URL.