Function AddParam(Name As String, Value As String, [CopyValueToMsgText As Boolean = False], [CopyParamNameToMsgText As Boolean = False]) As Boolean
Purpose:
§ adds a named parameter including its value to the logmessage.
For more about parameters, read the topic About user-defined parameters in logmessages.
Parameters:
§ ParamName: parameter name
§ Value: parameter value
§ bCopyValueToMsgText: If set, then the value will additionally be appended to the logmessage text.
§ bCopyParamNameToMsgText: Indicates if the parameter name will additionally be appended to the logmessage text.
If both options flags are set, the appendings will be made in the following form:
ParmName=Value
In all cases, no spaces or whitespace will be added to the logmessage text.
Return value:
§ currently always True