TC.log
Logs a message as a line in the interactive/load log.
TC.log(text, level);
Arguments
Name | Description |
---|---|
text | (any) The log message. |
level (Optional) | (string) Defines the log level. Possible values:
|
Return value
A promise that is fulfilled with undefined upon success.
Example
(async ()=>{
await TC.log("my warning", "Warning");
})();