TraceLogger.Log Method (String, TraceEventType, Exception)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Logs a trace event with the message and the exception.
Namespace: Microsoft.Crm.UnifiedServiceDesk.CommonUtility
Assembly: Microsoft.Crm.UnifiedServiceDesk.CommonUtility (in Microsoft.Crm.UnifiedServiceDesk.CommonUtility.dll)
Syntax
public override void Log(
string message,
TraceEventType eventType,
Exception exception
)
Public Overrides Sub Log (
message As String,
eventType As TraceEventType,
exception As Exception
)
Parameters
message
Type: System.StringSpecifies the message to be logged.
eventType
Type: System.Diagnostics.TraceEventTypeSpecifies the event type.
exception
Type: System.ExceptionSpecifies the exception object.
See Also
Log Overload
TraceLogger Class
Microsoft.Crm.UnifiedServiceDesk.CommonUtility Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright