Console Module

Log messages

Description:
Logs a message to the console. The function retrieves the message from the provided arguments and logs it to the console.

{
    "type": "console",
    "action": "log",
    "args": {
        "message": "Hello World"
    }
}

You can also use multiple messages.

{
    "type": "console",
    "action": "log",
    "args": {
        "messages": ["Hello", "World"]
    }
}

Log warnings

Description:
Logs a warning message to the console. The function retrieves the warning message from the provided arguments and logs it to the console.

{
    "type": "console",
    "action": "warn",
    "args": {
        "message": "This is a warning message"
    }
}

Log errors

Description:
Logs a table to the console. The function retrieves the table data from the provided arguments and logs it to the console.

{
    "type": "console",
    "action": "table",
    "args": {
        "data": [
            {"column1": "value1", "column2": "value2"},
            {"column1": "value3", "column2": "value4"}
        ]
    }
}