warn

abstract fun warn(vararg args: Any?)

console.warn

Emit a log message to the main logging system, sent to us by the JS console intrinsic; log message output is moderated via standard logging system mechanisms (i.e. on the JVM, this is SLF4J). The console.warn method corresponds to the WARN level.

All args are converted to a string value before emission; all values are joined by the string " ".

Parameters

args

Arguments to emit as part of this log message.