Click or drag to resize

Log Methods

The Log type exposes the following members.

Methods
  NameDescription
Public methodCode exampleLogMethodReply
Log a method reply. Call this method when service is finished processing a method and is about to return the ConneXionResult object back to the client. The general format of each line is: [YYYY-MM-DD] [HH:MM:SS] [Client IP] [Unique Message ID] [Reply] [Method Name] [Success=True|False] [Description=] [Source=] [TAMErrorNumber=] [TAMSource=] [TAMDescription=] where Success, Description, Source, TAMErrorNumber, TAMSource, and TAMDescription are values from the ConneXionResult object to be returned to the client. For example: 2005-11-07 00:04:04 206.196.21.144 632668907937265777 Reply FindPoliciesByCriteria Success=True Number=0 Description="Found 1 Policies" Source= TAMErrorNumber= TAMSource= TAMDescription=""
Public methodCode exampleLogMethodRequest
Log a method request. Returns a unique message ID that is to be passed to LogMethodReply(). The general format of each line is: [YYYY-MM-DD] [HH:MM:SS] [Client IP] [Unique Message ID] [Request] [Method Name] For example: 2005-11-07 00:04:03 206.196.21.144 632668907937265777 Request FindPoliciesByCriteria
Public methodCode exampleLogMethodRequestArguments
Log a method request and its argument data. Returns a unique message ID that is to be passed to LogMethodReply(). The general format of each line is: [YYYY-MM-DD] [HH:MM:SS] [Client IP] [Unique Message ID] [Request] [Method Name] [Arguments Data] For example: 2005-11-07 00:04:03 206.196.21.144 632668907937265777 Request FindPoliciesByCriteria
Top
See Also