ConsoleLoggerProvider コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ConsoleLoggerProvider(IConsoleLoggerSettings)
注意事項
This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options
public:
ConsoleLoggerProvider(Microsoft::Extensions::Logging::Console::IConsoleLoggerSettings ^ settings);
public ConsoleLoggerProvider (Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings settings);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options")]
public ConsoleLoggerProvider (Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings settings);
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options")>]
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
Public Sub New (settings As IConsoleLoggerSettings)
パラメーター
- settings
- IConsoleLoggerSettings
- 属性
適用対象
ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>)
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))
パラメーター
- options
- IOptionsMonitor<ConsoleLoggerOptions>
ConsoleLogger インスタンスを作成するためのオプション。
適用対象
ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>, IEnumerable<ConsoleFormatter>)
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);
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))
パラメーター
- options
- IOptionsMonitor<ConsoleLoggerOptions>
ConsoleLogger インスタンスを作成するためのオプション。
- formatters
- IEnumerable<ConsoleFormatter>
ConsoleLogger インスタンス用に追加されたログ フォーマッタ。
適用対象
ConsoleLoggerProvider(Func<String,LogLevel,Boolean>, Boolean)
注意事項
This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.
public:
ConsoleLoggerProvider(Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter, bool includeScopes);
public ConsoleLoggerProvider (Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter, bool includeScopes);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.")]
public ConsoleLoggerProvider (Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter, bool includeScopes);
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Func<string, Microsoft.Extensions.Logging.LogLevel, bool> * bool -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.")>]
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Func<string, Microsoft.Extensions.Logging.LogLevel, bool> * bool -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
Public Sub New (filter As Func(Of String, LogLevel, Boolean), includeScopes As Boolean)
パラメーター
- includeScopes
- Boolean
- 属性
適用対象
ConsoleLoggerProvider(Func<String,LogLevel,Boolean>, Boolean, Boolean)
注意事項
This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.
public:
ConsoleLoggerProvider(Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter, bool includeScopes, bool disableColors);
public ConsoleLoggerProvider (Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter, bool includeScopes, bool disableColors);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.")]
public ConsoleLoggerProvider (Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter, bool includeScopes, bool disableColors);
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Func<string, Microsoft.Extensions.Logging.LogLevel, bool> * bool * bool -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is using LoggerFactory to configure filtering and ConsoleLoggerOptions to configure logging options.")>]
new Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider : Func<string, Microsoft.Extensions.Logging.LogLevel, bool> * bool * bool -> Microsoft.Extensions.Logging.Console.ConsoleLoggerProvider
Public Sub New (filter As Func(Of String, LogLevel, Boolean), includeScopes As Boolean, disableColors As Boolean)
パラメーター
- includeScopes
- Boolean
- disableColors
- Boolean
- 属性