<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/tools/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<tool module="logsink" name="logsink">
<include>logsink_forward.h</include>
<include>logsink_private.h</include>
<shortdescription>tool for logsink</shortdescription>
<method name="logsink" type="constructor">
<shortdescription>Construct a logsink tool</shortdescription>
<param name="filename" type="string">
<description>logfile name</description>
<param name="enable_telemetry" type="bool">
<description>Allow telemetry data to be written.</description>
<param name="telemetry_logfile" type="string">
<description>Logfile for telemetry data.</description>
<method name="origin" type="function">
<shortdescription>Set the origin of the message</shortdescription>
<description>Sets the origin of messages to be displayed</description>
<param direction="in" name="fromwhere" type="string">
<description> The origin of a log messages</description>
<method name="processorOrigin" type="function">
<shortdescription>Set the CASA processor origin</shortdescription>
<description>Sets the CASA processor origin which is shown at the end of each log origin</description>
<param direction="in" name="fromwhere" type="string">
<description>Input CASA processor origin name</description>
<method name="filter" type="function">
<shortdescription>Set the filter level</shortdescription>
<description>Set the filter level of logging messages to be displayed.
This will determine what log messages go into the log file. The logger itself
can adjust what gets displayed so you could set INFO5 and then filter in the
logger everything above INFO1.</description>
<param name="level" direction="in" type="string">
<description> Level of messages to display to the console/log file</description>
<method name="filterMsg" type="function">
<shortdescription>Add messages to the filter out list</shortdescription>
<description>Add messages to the filter out list</description>
<param name="msgList" type="stringVec">
<description>Array of strings identifying messages to filter out</description>