Share via


TraceLoggerBase Class

Definition

TraceLoggerBase Class.

[System.ComponentModel.Localizable(false)]
public abstract class TraceLoggerBase : IDisposable
[<System.ComponentModel.Localizable(false)>]
type TraceLoggerBase = class
    interface IDisposable
Public MustInherit Class TraceLoggerBase
Implements IDisposable
Inheritance
TraceLoggerBase
Attributes
Implements

Constructors

TraceLoggerBase()

default TraceLoggerBase constructor

Properties

CurrentTraceLevel

Current Trace level

LastError

Last Error from Dataverse

LastException

Last Exception from Dataverse

Source

Trace source

TraceSourceName

Trace Name

Methods

Dispose()
Initialize()

Initialize Trace Source

Log(Exception)

Logg an error with an Exception

Log(String, TraceEventType, Exception)

Log a Trace event

Log(String, TraceEventType)

Log a Trace event

Log(String)

Log a Message as an Information event.

RefreshListeners(List<TraceSourceSetting>)

To refresh listeners

ResetLastError()

Reset the last Stored Error

Applies to