Skip to main content

Write-a-Debugging-Log

Command Description

Write debug information to log file

Command Prototype

Log.Debug(sContent)

Parameter Description

ParameterRequiredTypeDefaultDescription
sContentTruestring""The specific information to output

Demo

TracePrint("--------------------------------------Write to debug log--------- ----------------------------") 
//[Remarks] Write debugging (Debug) information to the log file.
//Input parameter 1:
// content----->Log content
//out parameters:
// None
Log.Debug("This is a debug log, which records debugging information during process debugging")
TracePrint("This is a log with debug level, used when process debugging is running")