Skip to content

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.

KcdMp.log.info(...args)
Parameter Type
...args unknown[] what to write

nothing

KcdMp.log.info("shop opened", { items: items.length });

KcdMp.log.warn · KcdMp.log.error · KcdMp.onError · the Logging and errors group of the index