Back to Index

Definition: log(arg1 [, arg2 ...]) — Allowed: string literals or numeric expressions; Not allowed: assignments as arguments.

Concatenates arguments (strings or expressions) to the log sink without adding a newline. Useful for building multi-part lines.

Example

log("Pressure: ", ain(1));
log(" Temp: ", temp()); // same line
logn(""); // finish line with newline