Meet Logr.js, the simple & compact error logger

Logr detects any errors on your webpage and injects a element so you can get more info.

To get a minified version, change .js to .min.js

To install Logr, put the following script on your webpage:

Logr is very tiny and compact, so no worries about it. Oh, and also, it only uses 4 lines of non-minified pure javascript. Sounds good?

There are two versions of logr.js: the web.js file (Logr Web View), that injects a element into the webpage so anyone can see the logs; the console.js file (Logr Console View), that you can see the errors only on the console

The only credit you need to do is that please do not download the file, only use it from the original hosting.

Why logr?

Logr.js is a great library because it provides:

When using Logr.js' Web View, the panel is 99% compatible to all websites, because it uses the max z-index value (z-index: 2147483638;), uses cross-browser attributes and all on.

Do a quick test

Try logr.js executing the code below