procedure Log(Level : Integer; content : String);

Class IHL7ConnectServices

make an entry in the HL7Connect system log. (also displays on the telnet interface). The level relates to the level of debugging that the administrator chooses. The following levels are described (and available as constants in the script environment):

 DBG_FATAL       1   Fatal Errors
 DBG_SERIOUS     2   Serious Errors
 DBG_ANNOUNCE    3   Announcements
 DBG_WRONG       4   Code Logic Errors
 DBG_EXCEPTION   6   Exceptions
 DBG_ERROR       7   Operational Errors
 DBG_WARNING     8   Warnings
 DBG_PROCESS    10   Program Flow
If the level is lower than that specified by the administrator then the message will be logged. If you log a fatal exception then HL7Connect will halt with no clean up immediately after logging the message

© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: Log