Skip to content
ChartDeck ChartScript docs Account Open the terminal

log

Messages to the editor console.

#Functions

#log.errorfunction

Writes a error message to the editor console (arguments fill {0}, {1} ...).

log.error(message: string)
log.error(message: string, arg: T, …)
ParameterTypeDescription
messagestringThe text.
argTA value.

Example

ChartScriptFragmentOpen in editor
log.error("close {0}", close)

Since ChartScript 1

#log.infofunction

Writes a info message to the editor console (arguments fill {0}, {1} ...).

log.info(message: string)
log.info(message: string, arg: T, …)
ParameterTypeDescription
messagestringThe text.
argTA value.

Example

ChartScriptFragmentOpen in editor
log.info("close {0}", close)

Since ChartScript 1

#log.warningfunction

Writes a warning message to the editor console (arguments fill {0}, {1} ...).

log.warning(message: string)
log.warning(message: string, arg: T, …)
ParameterTypeDescription
messagestringThe text.
argTA value.

Example

ChartScriptFragmentOpen in editor
log.warning("close {0}", close)

Since ChartScript 1

The ChartScript documentation is in English for now; translations will follow.