LogOutputChannel

A channel for containing log output.

To get an instance of a LogOutputChannel use createOutputChannel.

Online Documentation

Properties

Link copied to clipboard
abstract val logLevel: LogLevel

The current log level of the channel. Defaults to editor log level.

Link copied to clipboard
abstract val name: String

The human-readable name of this output channel.

Link copied to clipboard

An Event which fires when the log level of the channel changes.

Functions

Link copied to clipboard
abstract fun append(value: String)

Append the given value to the channel.

Link copied to clipboard
abstract fun appendLine(value: String)

Append the given value and a line feed character to the channel.

Link copied to clipboard
abstract fun clear()

Removes all output from the channel.

Link copied to clipboard
abstract fun debug(message: String, vararg args: ERROR CLASS: Symbol not found for JsAny??)

Outputs the given debug message to the channel.

Link copied to clipboard
abstract override fun dispose()

Dispose and free associated resources.

Link copied to clipboard
abstract fun error(error: JsError, vararg args: ERROR CLASS: Symbol not found for JsAny??)

abstract fun error(error: String, vararg args: ERROR CLASS: Symbol not found for JsAny??)

Outputs the given error or error message to the channel.

Link copied to clipboard
abstract fun hide()

Hide this channel from the UI.

Link copied to clipboard
abstract fun info(message: String, vararg args: ERROR CLASS: Symbol not found for JsAny??)

Outputs the given information message to the channel.

Link copied to clipboard
abstract fun replace(value: String)

Replaces all output from the channel with the given value.

Link copied to clipboard
abstract fun show(preserveFocus: Boolean = definedExternally)

Reveal this channel in the UI.

Link copied to clipboard
abstract fun trace(message: String, vararg args: ERROR CLASS: Symbol not found for JsAny??)

Outputs the given trace message to the channel. Use this method to log verbose information.

Link copied to clipboard
abstract fun warn(message: String, vararg args: ERROR CLASS: Symbol not found for JsAny??)

Outputs the given warning message to the channel.