LoggerFactory Constructors

Definition

Overloads

LoggerFactory()

Creates a new LoggerFactory instance.

LoggerFactory(IEnumerable<ILoggerProvider>)

Creates a new LoggerFactory instance.

LoggerFactory(IEnumerable<ILoggerProvider>, LoggerFilterOptions)

Creates a new LoggerFactory instance.

LoggerFactory(IEnumerable<ILoggerProvider>, IOptionsMonitor<LoggerFilterOptions>)

Creates a new LoggerFactory instance.

LoggerFactory()

Creates a new LoggerFactory instance.

public:
 LoggerFactory();
public LoggerFactory ();
Public Sub New ()

LoggerFactory(IEnumerable<ILoggerProvider>)

Creates a new LoggerFactory instance.

public:
 LoggerFactory(System::Collections::Generic::IEnumerable<Microsoft::Extensions::Logging::ILoggerProvider ^> ^ providers);
public LoggerFactory (System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers);
new Microsoft.Extensions.Logging.LoggerFactory : seq<Microsoft.Extensions.Logging.ILoggerProvider> -> Microsoft.Extensions.Logging.LoggerFactory
Public Sub New (providers As IEnumerable(Of ILoggerProvider))

Parameters

providers
IEnumerable<ILoggerProvider>

The providers to use in producing ILogger instances.

LoggerFactory(IEnumerable<ILoggerProvider>, LoggerFilterOptions)

Creates a new LoggerFactory instance.

public:
 LoggerFactory(System::Collections::Generic::IEnumerable<Microsoft::Extensions::Logging::ILoggerProvider ^> ^ providers, Microsoft::Extensions::Logging::LoggerFilterOptions ^ filterOptions);
public LoggerFactory (System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers, Microsoft.Extensions.Logging.LoggerFilterOptions filterOptions);
new Microsoft.Extensions.Logging.LoggerFactory : seq<Microsoft.Extensions.Logging.ILoggerProvider> * Microsoft.Extensions.Logging.LoggerFilterOptions -> Microsoft.Extensions.Logging.LoggerFactory
Public Sub New (providers As IEnumerable(Of ILoggerProvider), filterOptions As LoggerFilterOptions)

Parameters

providers
IEnumerable<ILoggerProvider>

The providers to use in producing ILogger instances.

filterOptions
LoggerFilterOptions

The filter options to use.

LoggerFactory(IEnumerable<ILoggerProvider>, IOptionsMonitor<LoggerFilterOptions>)

Creates a new LoggerFactory instance.

public:
 LoggerFactory(System::Collections::Generic::IEnumerable<Microsoft::Extensions::Logging::ILoggerProvider ^> ^ providers, Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::Extensions::Logging::LoggerFilterOptions ^> ^ filterOption);
public LoggerFactory (System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.ILoggerProvider> providers, Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.LoggerFilterOptions> filterOption);
new Microsoft.Extensions.Logging.LoggerFactory : seq<Microsoft.Extensions.Logging.ILoggerProvider> * Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.LoggerFilterOptions> -> Microsoft.Extensions.Logging.LoggerFactory
Public Sub New (providers As IEnumerable(Of ILoggerProvider), filterOption As IOptionsMonitor(Of LoggerFilterOptions))

Parameters

providers
IEnumerable<ILoggerProvider>

The providers to use in producing ILogger instances.

filterOption
IOptionsMonitor<LoggerFilterOptions>

The filter option to use.

Applies to