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, …)| Parameter | Type | Description |
|---|---|---|
message | string | The text. |
arg | T | A value. |
Example
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, …)| Parameter | Type | Description |
|---|---|---|
message | string | The text. |
arg | T | A value. |
Example
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, …)| Parameter | Type | Description |
|---|---|---|
message | string | The text. |
arg | T | A value. |
Example
log.warning("close {0}", close)Since ChartScript 1