KcdMp.log.info
Writes a line to the interface log.
The arguments are turned into text - a text as it is, anything else as JSON, or as String(x) when that fails - and
joined with spaces; a line is cut to 2000 characters.
Syntax
Section titled “Syntax”KcdMp.log.info(...args)| Parameter | Type | |
|---|---|---|
...args |
unknown[] |
what to write |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”KcdMp.log.info("shop opened", { items: items.length });See also
Section titled “See also”KcdMp.log.warn · KcdMp.log.error · KcdMp.onError · the Logging and errors group of the index
