Toggle menu

helper.trace(level, anything [, anything])

Provides a universal trace capability.

If executed within the browser, trace will log trace messages to the browser's web console and the helper debug panel (if enabled). When executed server-side it will log to the API Server console.


levelString, optionalOne of "info", "warn" or "error"
anythinganythingAnything you'd like to trace

Trace takes any number of arguments of any type including arrays and objects. You can optionally set the trace level. if not supplied it defaults to "info".


function(helper, pageName, pageInstance) {
    helper.trace('info', helper.getFieldValue('FIELD1'));

Last modified on 11 November 2022

Share this page

Facebook icon Twitter icon email icon


print icon