Skip to main content

Output-Warning-Log

Command Description

Output warning log

Command Prototype

Log.Warn(sContent)

Parameter Description

ParameterRequiredTypeDefaultDescription
sContentTruestring""The specific information to output

Demo

TracePrint("----------------------------------output warning log------- ---------------------------") 
//[Remarks] Use when the process has unexpected situations, but it does not affect the process running
//Input parameter 1:
// content----->Log content
//out parameters:
// None
Log.warn("This is a warning log, please use it when there are some expected exceptions in the process, but it does not affect the running of the process")
TracePrint("This is a log with a warning level, which is used when an expected accident occurs, but does not affect the process running")