Job_WriteLog

Description

Writes line in standard Scripting Library format

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


Syntax

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


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

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

Scripting Guidelines


Related functions

Job_ErrorHandling Job LogError Job_CloseLog Job_CreateLog Job_DisableLog Job_EnableLog Job_SetMasterLog