Logging Enabled

Enabling logs will allow TOP debug logging to show up in the browser console (logging is disabled by default).

How To

Enable logging via:

Way Description
Query Parms For any page using TOP
Log API Requires set up on the page

Query Params

toplogenabled exposes the TOP debug logging in the console:

Log API

Log.setEnabled exposes the TOP debug logging in the console:

var Log = TOP.logging.Log;
Log.setEnabled(true);

Enabled

To determine if TOP logging is enabled:

TOP.logging.Log.data().enabled