Enables scripted content fragments to log exceptions.
Methods
Log
Log Overload 1
Logs an exception
Velocity
#set($additionalInfoResponse = $core_v2_exceptions.Log($message))
JavaScript
var additionalInfoResponse = core_v2_exceptions.Log(message);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Log message | Required |
Log Overload 2
Logs an exception
Velocity
#set($additionalInfoResponse = $core_v2_exceptions.Log($message, "%{ CategoryId = $categoryIdArg, Type = $typeArg }"))
JavaScript
var additionalInfoResponse = core_v2_exceptions.Log(message, { CategoryId: categoryIdArg, Type: typeArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Log message | Required | ||
options | Options | Set of optional parameters including: | Required | ||
CategoryId | Guid | ExceptionCategory Id | Optional | ||
Type | String | Obsolete: Use CategoryId instead | Optional |