Enhance: Dev: fconsole improvements - Sophist-UK/joomla_fabrik GitHub Wiki

By: Sophist

  1. Now displays a logged info as it was at the time of logging, not at the point you look at it. (This is an essential attribute of logging functionality - you often want to see what interim results looked like not final, and console.log as standard shows objects as they are at the time of viewing not at the time of logging.)

  2. JS objects now shows as fully hierarchical JS objects, not as string conversions of objects (which result in loss of information).

  3. If Fabrik JS debugging is on, a stack trace is added.

  4. fdebug is added as a shortcut to only call fconsole if Fabrik JS debugging is on - this is equivalent to if (Fabrik.debug) fconsole(args);