Enables scripted content fragments to use EventLogs
Methods
Write
Writes a new event log
Usage
#set($additionalInfoResponse = $core_v2_eventLog.Write($message, "%{Category = $categoryArg, EventId = $eventIdArg, EventType = $eventTypeArg}"))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | string | Log message | Required | ||
Category | string | If not specified, default Category will be used. | Optional | Unknown | |
EventId | int | If not specified, default EventId will be used. | Optional | -1 | |
EventType | string | If not specified, default EventType will be used. Options are Information, Warning and Error. | Optional | Information | Error, Information, Warning |