console
constconsole:object
Defined in: client/api.d.ts:2093
Resource-aware console that routes output through the Framework logger.
Type Declaration
Section titled “Type Declaration”debug()
Section titled “debug()”debug(
values?):void
Writes a debug log entry prefixed with the current resource name.
Parameters
Section titled “Parameters”values?
Section titled “values?”unknown[]
Values formatted and joined with spaces.
Returns
Section titled “Returns”void
error()
Section titled “error()”error(
values?):void
Writes an error log entry prefixed with the current resource name.
Parameters
Section titled “Parameters”values?
Section titled “values?”unknown[]
Values formatted and joined with spaces.
Returns
Section titled “Returns”void
info()
Section titled “info()”info(
values?):void
Alias of console.log for informational output.
Parameters
Section titled “Parameters”values?
Section titled “values?”unknown[]
Values formatted and joined with spaces.
Returns
Section titled “Returns”void
log(
values?):void
Writes an informational log entry prefixed with the current resource name.
Parameters
Section titled “Parameters”values?
Section titled “values?”unknown[]
Values formatted and joined with spaces.
Returns
Section titled “Returns”void
warn()
Section titled “warn()”warn(
values?):void
Writes a warning log entry prefixed with the current resource name.
Parameters
Section titled “Parameters”values?
Section titled “values?”unknown[]
Values formatted and joined with spaces.
Returns
Section titled “Returns”void
