XLQP Gen1
ElementsContent & layout

AddLog

Adds a log-style text surface for messages or runtime output.

AddLog

What it does

Adds a log-style text surface for messages or runtime output.

When to use it

Use it for diagnostics, activity history, command output, or continuously appended status text.

ElementFunction:AddLog(LogConfig)

LogsPage:AddLog({
	Text = '[<font color="rgb(73, 230, 133)">Log</font>]: GUI loaded',
    DoesWrap = true,
    Size = 14
})

Behavior and return value

Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.