Output-Error-Log
Command Description
Output error log
Command Prototype
Log.Error(sContent)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
sContent | True | string | "" | The specific information to output |
Demo
TracePrint("----------------------------------output error log-------- ---------------------------")
//[Remarks] When the process does not meet expectations, output the corresponding error log
//Input parameter 1:
// content----->Log content
//out parameters:
// None
Log.Error("This is an error log, please use it when the process does not run as expected and needs to be stopped")
TracePrint("This is a log with error level, used when an error occurs in the process and needs to be stopped immediately