DCode

Covers Engine 2.0.0

log

Append an info line to a named ARGUS stream; returns whether the log queue accepted it in Lua.

Syntax

log(stream, message)

Available in

  • File scope
  • Executable DCode bodies

Native C++

Supported as a statement with a string-literal stream and a value expression converted to text, including a constructed string. Native statements do not return the accepted flag. Formatting and logging can allocate.

Example

log("Device", message)