How does catchjs.log() work?

The method catchjs.log() works the same way as console.log(), except the parameters are logged persistently to the CatchJS service.

The method takes a variable number of parameters, of any type. These will be serialized and sent to the CatchJS service. If you pass an object to catchjs.log(), it will display in your log in a useful tree view, similar how they would be displayed in your browsers developer tools.

This means a call like this:

catchjs.log("Unexpected parameter: ", obj);

Would result in a log entry like this:

These log entries show up under the "Log entries" tab, visible to logged in users.