KcdMp.log.warn
Writes a warning to the interface log.
The same as KcdMp.log.info, marked as a warning.
Syntax
Section titled “Syntax”KcdMp.log.warn(...args)| Parameter | Type | |
|---|---|---|
...args |
unknown[] |
what to write |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”if (items.length === 0) { KcdMp.log.warn("the shop has nothing to sell");}See also
Section titled “See also”KcdMp.log.info · KcdMp.log.error · the Logging and errors group of the index
