Delen via


ConsoleLoggerProvider Constructors

Definition

Overloads

ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>)

Creates an instance of ConsoleLoggerProvider.

ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>, IEnumerable<ConsoleFormatter>)

Creates an instance of ConsoleLoggerProvider.

ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>)

Source:
ConsoleLoggerProvider.cs
Source:
ConsoleLoggerProvider.cs
Source:
ConsoleLoggerProvider.cs

Creates an instance of ConsoleLoggerProvider.

public:
 ConsoleLoggerProvider(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::Extensions::Logging::Console::ConsoleLoggerOptions ^> ^ options);
public ConsoleLoggerProvider (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> options);
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
Public Sub New (options As IOptionsMonitor(Of ConsoleLoggerOptions))

Parameters

options
IOptionsMonitor<ConsoleLoggerOptions>

The options to create Microsoft.Extensions.Logging.Console.ConsoleLogger instances with.

Applies to

ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>, IEnumerable<ConsoleFormatter>)

Source:
ConsoleLoggerProvider.cs
Source:
ConsoleLoggerProvider.cs
Source:
ConsoleLoggerProvider.cs

Creates an instance of ConsoleLoggerProvider.

public:
 ConsoleLoggerProvider(Microsoft::Extensions::Options::IOptionsMonitor<Microsoft::Extensions::Logging::Console::ConsoleLoggerOptions ^> ^ options, System::Collections::Generic::IEnumerable<Microsoft::Extensions::Logging::Console::ConsoleFormatter ^> ^ formatters);
public ConsoleLoggerProvider (Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> options, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Logging.Console.ConsoleFormatter>? formatters);
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Microsoft.Extensions.Options.IOptionsMonitor<Microsoft.Extensions.Logging.Console.ConsoleLoggerOptions> * seq<Microsoft.Extensions.Logging.Console.ConsoleFormatter> -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
Public Sub New (options As IOptionsMonitor(Of ConsoleLoggerOptions), formatters As IEnumerable(Of ConsoleFormatter))

Parameters

options
IOptionsMonitor<ConsoleLoggerOptions>

The options to create Microsoft.Extensions.Logging.Console.ConsoleLogger instances with.

formatters
IEnumerable<ConsoleFormatter>

Log formatters added for Microsoft.Extensions.Logging.Console.ConsoleLogger instances.

Applies to