Yuari
Documentation

print

Write to the executor's output console. print-family logs at info level, warn at warning level, error-family at error level. printl and errorl are aliases.

Syntax

print(...) -> nil

Parameters

ParameterTypeDescription
......Additional arguments forwarded to the target.

Returns

TypeDescription
nilThis function does not return a value.

Description

print is part of the Core functions library. Core globals are installed in every executor thread and drive output, scheduling and identity.

The operation is performed immediately using the arguments supplied at the call site.

The aliases printl(...), warn(...), error(...), errorl(...) resolve to the same implementation.

Example

print("info", 123)
printl("alias of print")
warn("warning")
error("error message")

Notes

  • Aliases: printl(...), warn(...), error(...), errorl(...).
  • Core globals are available in every script.