clear-af.js
    Preparing search index...

    Function prettyInfo

    • Function

      Show a pretty information log message with optional date information

      Parameters

      • info: string

        Information message to display

      • time: boolean = false

        Include or not a timestamp

      Returns void

      prettyInfo("Server is running on port 3000");
      // Output: ℹ - Server is running on port 3000 (in blue)

      prettyInfo("Cache cleared", true);
      // Output: ℹ [30/03/2026 10:30:45] - Cache cleared (in blue with timestamp)