Job_WriteLog
Description
Section titled “Description”Writes line in standard Scripting Library format
Note: Advanced logs have been discontinued. All logs are written to basic logs
Syntax
Section titled “Syntax”Job_WriteLog(sFunction, sText, bStatus, bAddtoBasicLog) As Boolean
Parameters
Section titled “Parameters”sFunction (String)
Section titled “sFunction (String)”Name of current function
sText (String)
Section titled “sText (String)”Text reported to log
bStatus (Boolean)
Section titled “bStatus (Boolean)”Current status in log
bAddtoBasicLog (Boolean)
Section titled “bAddtoBasicLog (Boolean)”This parameter has no effect
Example
Section titled “Example”If bStatus Then bStatus = Job_Writelog("Custom", "Custom function writes to the log", bStatus, True)Related functions
Section titled “Related functions”Job_ErrorHandling Job LogError Job_CloseLog Job_CreateLog Job_DisableLog Job_EnableLog Job_SetMasterLog Constants Package Property Variables