datahub_logdatahub_log — writes a string to the Event Log window.
datahub_log (trace_level, message)
trace_levelOne of: DHTL_DEBUG,
DHTL_INFO, DHTL_WARNING,
DHTL_ERROR.
messageAny string.
t on
success, otherwise an error message.
This function will write a string to the DataHub Event Log window. The
trace_level parameter corresponds to the level of
Severity in the Event Log, and the relevant filtering
will apply. The Facility is always
General. Messages written with this function will be
written to disk if the Event Log is being saved.