Action: Log (Log)
Prints a message to the console during execution
๐ Description
The Log
action prints a message to the console.
You can use Spectre.Console styles to color and format the output, and include template variables from the context.
๐งฉ Structure
Field | Type | Required | Description |
---|---|---|---|
message |
string | The message text to display in the console. Supports templates (e.g. {user.name} ). | |
style |
string | Optional formatting style for the message (e.g. green , bold red , italic ). |
๐จ Supports standard Spectre.Console colors and text styles:
๐ Example
{ "action": "Log", "message": "๐งช Script started!", "style": "bold red" }
๐ Site updated: 17.06.2025 00:01