<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>core_v2_eventLog Script API</title><link>https://community.telligent.com/community/11/w/api-documentation/65822/core_5F00_v2_5F00_eventlog-script-api</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>core_v2_eventLog Script API</title><link>https://community.telligent.com/community/11/w/api-documentation/65822/core_5F00_v2_5F00_eventlog-script-api</link><pubDate>Wed, 20 Nov 2019 14:54:06 GMT</pubDate><guid isPermaLink="false">df97575f-1bd5-4d13-b046-2e3d15124adc</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/65822/core_5F00_v2_5F00_eventlog-script-api#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/20/2019 14:54:06&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;Enables scripted content fragments to use EventLogs&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="#Write"&gt;Write&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="documentation-members methods"&gt;&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;&lt;a name="Write"&gt;&lt;/a&gt;&lt;h2&gt;&lt;a id="Write" name="Write"&gt;&lt;/a&gt;Write&lt;/h2&gt;&lt;h3&gt;&lt;a id="Write_Overload_1" name="Write_Overload_1"&gt;&lt;/a&gt;Write Overload 1&lt;/h3&gt;&lt;p&gt;Writes a new event log&lt;/p&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $core_v2_eventLog.Write($message))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = core_v2_eventLog.Write(message);&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;message&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Message&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h3&gt;&lt;a id="Write_Overload_2" name="Write_Overload_2"&gt;&lt;/a&gt;Write Overload 2&lt;/h3&gt;&lt;p&gt;Writes a new event log&lt;/p&gt;&lt;h4&gt;&lt;a id="Velocity" name="Velocity"&gt;&lt;/a&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $core_v2_eventLog.Write($message, &amp;quot;%{ Category = $categoryArg, EventId = $eventIdArg, EventType = $eventTypeArg }&amp;quot;))&lt;/pre&gt;&lt;h4&gt;&lt;a id="JavaScript" name="JavaScript"&gt;&lt;/a&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = core_v2_eventLog.Write(message, { Category: categoryArg, EventId: eventIdArg, EventType: eventTypeArg });&lt;/pre&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;message&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Log message&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;Category&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;If not specified, default Category will be used.&lt;/td&gt;&lt;td rowspan="1"&gt;Optional&lt;/td&gt;&lt;td rowspan="1"&gt;Unknown&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;EventId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;If not specified, default EventId will be used.&lt;/td&gt;&lt;td rowspan="1"&gt;Optional&lt;/td&gt;&lt;td rowspan="1"&gt;-1&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;EventType&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;If not specified, default EventType will be used. Options are Information, Warning and Error.&lt;/td&gt;&lt;td rowspan="1"&gt;Optional&lt;/td&gt;&lt;td rowspan="1"&gt;Information&lt;/td&gt;&lt;td rowspan="1"&gt;Error, Information, Warning&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Returns" name="Returns"&gt;&lt;/a&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[AdditionalInfo Script API Type|AdditionalInfo]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>