FilterLoggerFactory Class

Definition

This API supports the .NET infrastructure and is not intended to be used directly from your code.

public ref class FilterLoggerFactory : IDisposable, Microsoft::Extensions::Logging::ILoggerFactory
public class FilterLoggerFactory : IDisposable, Microsoft.Extensions.Logging.ILoggerFactory
type FilterLoggerFactory = class
    interface ILoggerFactory
    interface IDisposable
Public Class FilterLoggerFactory
Implements IDisposable, ILoggerFactory
Inheritance
FilterLoggerFactory
Implements

Constructors

FilterLoggerFactory(ILoggerFactory, IFilterLoggerSettings)

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Methods

AddProvider(ILoggerProvider)

Adds a provider to the logging system.

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)

Extension Methods

AddAzureWebAppDiagnostics(ILoggerFactory)
Obsolete.

Adds an Azure Web Apps diagnostics logger.

AddAzureWebAppDiagnostics(ILoggerFactory, AzureAppServicesDiagnosticsSettings)
Obsolete.

Adds an Azure Web Apps diagnostics logger.

WithFilter(ILoggerFactory, IFilterLoggerSettings)

Registers a wrapper logger which provides a common way to filter log messages across all registered ILoggerProviders.

CreateLogger(ILoggerFactory, Type)

Creates a new ILogger instance using the full name of the given type.

CreateLogger<T>(ILoggerFactory)

Creates a new ILogger instance using the full name of the given type.

Applies to