Databases Reference
In-Depth Information
Error! Reference source not found. Groups can be nested. If you want your
group to be collapsed by default, use the
$.console.groupCollapsed
function
instead of
$.console.group.
Figure 8-4. Console Wrapper: grouping
Console Wrapper also includes a very helpful function to display all the
parameters in a function without having to explicitly list each parameter. Figure
8-5 shows how to use the
$.console.logParams
function. It also has additional
checks in place to show parameters that are not explicitly linked to an input
parameter. Figure 8-6 highlights this functionality.
Figure 8-5. Console Wrapper: log parameters.
Figure 8-6. Console Wrapper: log parameters with unexpected parameters.