Autodesk Vault ProfessionalVault API

LogMessage Method

Autodesk.DataManagement.Client.Framework.InterfacesILoggingProvider

Log a message to the logging system.

Syntax

void LogMessage(
   System.string category,
   System.string subCategory,
   System.string message,
   System.Diagnostics.TraceEventType eventType,
   System.int priorityId,
   System.Nullable<DateTime> startTimeUTC,
   System.Collections.Generic.IDictionary<string,object> properties
)
Sub LogMessage( _
   ByVal category As System.String, _
   ByVal subCategory As System.String, _
   ByVal message As System.String, _
   ByVal eventType As System.Diagnostics.TraceEventType, _
   ByVal priorityId As System.Integer, _
   ByVal startTimeUTC As System.Nullable(Of Date), _
   ByVal properties As System.Collections.Generic.IDictionary(Of String,Object) _
) 

Parameters

NameDescription
categoryThe main category.
subCategoryAn optional sub category.
messageThe message to be logged.
eventTypeSystem.Diagnostics.TraceEventType
priorityIdPriority to assign to the message.
startTimeUTCUTC start of the of the message. Gives user (optionally) the ability to assign the start time.
propertiesOptional list of property name/object pairs to assicated to the log message.

See Also