Skip to content

KcdMp.log.warn

Writes a warning to the interface log.

The same as KcdMp.log.info, marked as a warning.

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

nothing

if (items.length === 0) {
KcdMp.log.warn("the shop has nothing to sell");
}

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