Skip to content

Job_WriteLog

Writes line in standard Scripting Library format:

<time> : <bStatus> : <sFunction> : <sText>

For example: 12:59:47 : True : Custom : Custom function writes to the log

Nothing is written while logging is disabled with Job_DisableLog.

Note: Advanced logs have been discontinued. All logs are written to basic logs

Job_WriteLog(sFunction, sText, bStatus, bAddtoBasicLog) As Boolean

Name of current function

Text reported to log

Current status in log

This parameter has no effect

The function returns the value of bStatus unchanged, so writing to the log never changes the status of the script.

If bStatus Then bStatus = Job_Writelog("Custom", "Custom function writes to the log", bStatus, True)

Scripting Guidelines

Job_ErrorHandling Job_DisableLog Job_EnableLog Constants Package Property Variables