--- title: "log" slug: "debug-log" updated: 2025-11-06T18:27:19Z published: 2025-11-06T18:27:19Z canonical: "docs.doc-know.com/debug-log" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt > Use this file to discover all available pages before exploring further. # log ### log Displays a value in the debugger output log. ### Input Parameters | Name | Type | Required | Description | | --- | --- | --- | --- | | **value** | Any | Yes | Value to display in output log | | **[prop]** | Text | No | When **value** is an **array**, name of property to display for each item in the array | ### Returns No return value. ### Examples ``` // display a basic message in the debugger debug.log("Hello, world"); ``` ``` // display runtime information in the debugger var name = runtime.name; var version = runtime.version; debug.log(name + " v." + version); ``` ``` // prepare array of person objects var people = [ { "name": "Ethan", "age": 16 }, { "name": "Annabelle", "age": 18 }]; // display the names of each person in the debugger debug.log(people, "name"); ``` ### Remarks This function is useful throughout script development because it allows you to display information and test variable conditions during script executions.