adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ApplicationIntegration Class / LogMessage Method
The message type (severity)
The message code. Can be used to filter messages. Note: The value 100000 will be added to the messageCode when the message is recorded in adTempus.
The message text.


In This Topic
    LogMessage Method (ApplicationIntegration)
    In This Topic
    Logs a message to the Job Log for the job.
    Syntax
    'Declaration
     
    
    Public Sub LogMessage( _
       ByVal messageType As MessageType, _
       ByVal messageCode As Integer, _
       ByVal message As String _
    ) 
    public void LogMessage( 
       MessageType messageType,
       int messageCode,
       string message
    )
    public:
    void LogMessage( 
       MessageType messageType,
       int messageCode,
       String^ message
    ) 

    Parameters

    messageType
    The message type (severity)
    messageCode
    The message code. Can be used to filter messages. Note: The value 100000 will be added to the messageCode when the message is recorded in adTempus.
    message
    The message text.
    Remarks
    Each message logged with LogMessage creates a log message in the Job Log for the job and a record in the adTempus database. To avoid cluttering the job log and using large amounts of database space, use MessageTypeEnum.Debug for debug-level messages. These messages will be written to the Job Detail Log instead of the main Job Log. The detail log is a single log file with detailed/diagnostic information for the job, available from the Captured Files list for the job.
    See Also