Bagikan melalui


EventSourceLoggerProvider Class

Definition

The provider for the Microsoft.Extensions.Logging.EventSource.EventSourceLogger.

public ref class EventSourceLoggerProvider : IDisposable, Microsoft::Extensions::Logging::ILoggerProvider
[Microsoft.Extensions.Logging.ProviderAlias("EventSource")]
public class EventSourceLoggerProvider : IDisposable, Microsoft.Extensions.Logging.ILoggerProvider
[<Microsoft.Extensions.Logging.ProviderAlias("EventSource")>]
type EventSourceLoggerProvider = class
    interface ILoggerProvider
    interface IDisposable
Public Class EventSourceLoggerProvider
Implements IDisposable, ILoggerProvider
Inheritance
EventSourceLoggerProvider
Attributes
Implements

Constructors

EventSourceLoggerProvider(LoggingEventSource)

Creates an instance of EventSourceLoggerProvider.

Methods

CreateLogger(String)

Creates a new ILogger instance.

Dispose()

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to