clear-af.js
    Preparing search index...

    Function prettyDebug

    • Function

      Show a pretty debug log message with optional date information

      Parameters

      • debug: string

        Debug message to display

      • time: boolean = false

        Include or not a timestamp

      Returns void

      prettyDebug("Variable x = 42");
      // Output: ⚙ - Variable x = 42 (in white)

      prettyDebug("Function call trace", true);
      // Output: ⚙ [30/03/2026 10:30:45] - Function call trace (in white with timestamp)