Share via


TraceLoggerBase Class

Definition

TraceLoggerBase Class.

public ref class TraceLoggerBase abstract : IDisposable
public abstract class TraceLoggerBase : IDisposable
type TraceLoggerBase = class
    interface IDisposable
Public MustInherit Class TraceLoggerBase
Implements IDisposable
Inheritance
TraceLoggerBase
Derived
Implements

Constructors

TraceLoggerBase()

default TraceLoggerBase constructor

Properties

CurrentTraceLevel

Current Trace level

LastError

Last Error from CRM

LastException

Last Exception from CRM

Source

Trace source

TraceSourceName

Trace Name

Methods

Dispose()
Initialize()

Initialize Trace Source

Log(Exception)

Logg an error with an Exception

Log(String)

Log a Message as an Information event.

Log(String, TraceEventType)

Log a Trace event

Log(String, TraceEventType, Exception)

Log a Trace event

RefreshListeners(List<TraceSourceSetting>)

To refresh listeners

ResetLastError()

Reset the last Stored Error

Applies to