Enabling logs will allow TOP debug logging to show up in the browser console (logging is disabled by default).
Enable logging via:
| Way | Description |
|---|---|
| Query Parms | For any page using TOP |
| Log API | Requires set up on the page |
toplogenabled exposes the TOP debug logging in the console:
Log.setEnabled exposes the TOP debug logging in the console:
var Log = TOP.logging.Log;
Log.setEnabled(true);To determine if TOP logging is enabled:
TOP.logging.Log.data().enabled