Static function
Fast
Console.Log
Logs and formats a message in the console, with formatted arguments
Syntax
Console.Log(message, args... = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
message
|
string | — | Message to print |
args...
optional
|
any | nil |
Other arguments to format with the message using string.format |
Examples
Console.Log("Hello, world!")
local player_name = "John",Console.Log("Hello %s!", player_name)
local health = 50,local max_health = 100,Console.Log("Player health: %d/%d", health, max_health)