TraceLogger.Log Method (String, TraceEventType)

Logs a trace event.

Namespace: Microsoft.Crm.UnifiedServiceDesk.CommonUtility
Assembly: Microsoft.Crm.UnifiedServiceDesk.CommonUtility (in Microsoft.Crm.UnifiedServiceDesk.CommonUtility.dll)

Usage

'Usage
Dim instance As TraceLogger
Dim message As String
Dim eventType As TraceEventType

instance.Log(message, eventType)

Syntax

'Declaration
Public Sub Log ( _
    message As String, _
    eventType As TraceEventType _
)
public void Log (
    string message,
    TraceEventType eventType
)
public:
void Log (
    String^ message, 
    TraceEventType eventType
)
public void Log (
    String message, 
    TraceEventType eventType
)
public function Log (
    message : String, 
    eventType : TraceEventType
)

Parameters

  • message
    Specifies the message.
  • eventType
    Specifies the event type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

TraceLogger Class
TraceLogger Members
Microsoft.Crm.UnifiedServiceDesk.CommonUtility Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.