datahub_log

datahub_log — writes a string to the Event Log window.

Synopsis

datahub_log (trace_level, message)
   

Arguments

trace_level

One of: DHTL_DEBUG, DHTL_INFO, DHTL_WARNING, DHTL_ERROR.

message

Any string.

Returns

t on success, otherwise an error message.

Description

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.