Skip to content

KcdMp.log.error

Writes an error to the interface log.

The same as KcdMp.log.info, marked as an error. When the server asked to hear the errors of its pages, the game mode is told of it as well (with the text cut short, at most five a minute for a player).

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

nothing

try {
render(data);
} catch (e) {
KcdMp.log.error("render failed:", e.message);
}

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