Browse docssystem.log
On this page
API method

system.log

Writes a line to the Atlas event log.

Syntax

Atlas Script
system.log(message)

Parameters

message
Text written as one line to the Atlas event log.

Return value

See the remarks for the returned value and runtime behavior.

Remarks

Writes a line to the Atlas event log.

Examples

Pressed, held, and released.atlas
event on_input() {
    if (input.pressed("L1")) {
        system.log("L1 pressed");
    }
    if (input.held("L1")) {
        output.set_button("cross", true);
    }
    if (input.released("L1")) {
        system.log("L1 released");
    }
}
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.