Conditional Logging: Revision history

From GreaseSpot Wiki
Jump to navigationJump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 July 2010

4 February 2010

  • curprev 02:2602:26, 4 February 2010Arantius talk contribs 1,147 bytes +1,147 Created page with 'Provide a single easy switch to control whether debugging information is output. == Alternative 1 == <pre class='sample'> const DEBUG = true; function debug() { if (DEBUG &&…'