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)
Name of current function
sText (String)
Text reported to log
bStatus (Boolean)
Current status in log
bAddtoBasicLog (Boolean)
This parameter has no effect
Example
Section titled “Example”VBScript
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