Jaa


TraceLogger Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Class for Trace logger.

Namespace:   Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase
Assembly:  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase (in Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase.TraceLogger

Syntax

public class TraceLogger
Public Class TraceLogger

Constructors

Name Description
System_CAPS_pubmethod TraceLogger(String)

Constructor.

System_CAPS_pubmethod TraceLogger(TraceSource)

Properties

Name Description
System_CAPS_pubproperty CurrentTraceLevel

Returns the trace source level for the current logger.

System_CAPS_pubproperty LastError

Last Error from CRM.

System_CAPS_pubproperty LastException

Last Exception from CRM .

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLogFilePath()

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Log(Exception)

Log an error with an Exception.

System_CAPS_pubmethod Log(String)

Log a Message.

System_CAPS_pubmethod Log(String, TraceEventType)

Log a Trace event.

System_CAPS_pubmethod Log(String, TraceEventType, Exception)

Log a Trace event.

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ResetLastError()

Last error reset.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

Microsoft.Xrm.Tooling.PackageDeployment.CrmPackageExtentionBase Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright