Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

pjs.log() logs a line of code along with field values to the console. JavaScript syntax highlighting is applied to the lineThis is useful in debugging. This API is normally used internally by the command line parameter -rlog. The line number, the line of code itself, and field name / value pairs are logged.

JavaScript syntax highlighting is automatically applied to the line.

Parameters

  1. Line number
  2. Line
  3. Field Names Array

...