TraceLogger.Log Method (String, TraceEventType, Exception)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Log a Trace event.
Namespace: Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly: Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)
Syntax
public void Log(
string message,
TraceEventType eventType,
Exception exception
)
Public Sub Log (
message As String,
eventType As TraceEventType,
exception As Exception
)
Parameters
message
Type: System.StringError Message
eventType
Type: System.Diagnostics.TraceEventTypeTrace Event type Information
exception
Type: System.ExceptionException object
See Also
Log Overload
TraceLogger Class
Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright