Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

Input.printAll

Input.printAll($httpMethod, $printToLog = false)

Description

Print all input data for the given method in the print panel.

This is useful for debugging, without exposing potentially unsafe user data inside your code.

If $printToLog is true, write the data to settings/app.log instead.

// url: /profile?userId=123&tab=posts&sortPosts=desc

Input.printAll('get');

// In print panel:
{
    userId: 123,
    tab: 'posts',
    sortPosts: 'desc',
}