Turns on logging for all calls to a function.
This means whenever that function is called, a log message will be created inside the Console Panel showing the function name, the parameters and their values.
monitor() is called on a function, the monitor is listed within the Breakpoints Side Panel.
Function to log calls for. (required)
Having the following function:
if (n==1 || n==0)
var facNumber = 1;
for (i = 1; i <= n; i++)
facNumber *= i;
This enables logging of calls to the function
faculty(). So calling this function like
faculty(5), a log message like the following will be created: