TCA.log
Logs a message as a line in the interactive/load log.
TCA.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 will be fulfilled with no arguments.
Example
TCA.log("my warning", "Warning").then(function(){
TCA.done();
}).catch(function (error) {
TCA.doneWithError(error);
});