Skip to main content

traceless.console

Lua and callback failures are console-only. Use notify when an intentional on-screen message is wanted.

info​

traceless.console.info(...)

Returns: none.

Converts values to text and concatenates them in the developer console. Formatting uses the shared argument conversion helper; messages are bounded by its internal buffer.

color​

traceless.console.color(red, green, blue, ...)

Returns: none.

Integer RGB components are clamped to 0–255. Remaining arguments are concatenated and written to the developer console; alpha is opaque.

error​

traceless.console.error(message)

Returns: none.

Writes a string in red to the developer console. This reports a message and does not raise a Lua error.

execute​

traceless.console.execute(...)

Returns: none.

Concatenates values into a client console command (2048-byte buffer). Submits it when the engine client exists; otherwise does nothing.

local traceless = require("traceless")
traceless.console.color(255, 92, 95, "Lua ready")