Udostępnij za pośrednictwem


AzureEventSourceLogForwarder Class

Definition

A type used to forward log messages from Azure SDK EventSource to ILoggerFactory.

public sealed class AzureEventSourceLogForwarder : IDisposable
type AzureEventSourceLogForwarder = class
    interface IDisposable
Public NotInheritable Class AzureEventSourceLogForwarder
Implements IDisposable
Inheritance
AzureEventSourceLogForwarder
Implements

Constructors

AzureEventSourceLogForwarder(ILoggerFactory)

Initializes a new instance of AzureComponentFactory using a provided ILoggerFactory.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Start()

Initiates the log forwarding from the Azure SDK event sources to a provided ILoggerFactory, call Dispose() to stop forwarding.

Applies to