log.error

Adds a error to the log of the bar debugger (the Debug tab in the inspector), with the bar and line. Kept only while the Debug tab is open; costs nothing otherwise.

log.error(message: string)

Parameters

Example

log.error("close " + str.tostring(close))