Share via


ConfigurationConsoleLoggerSettings 类

定义

注意

This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.

指定 的设置 Microsoft.Extensions.Logging.Console.ConsoleLogger

public ref class ConfigurationConsoleLoggerSettings : Microsoft::Extensions::Logging::Console::IConsoleLoggerSettings
[System.Obsolete("This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.")]
public class ConfigurationConsoleLoggerSettings : Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings
[<System.Obsolete("This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.")>]
type ConfigurationConsoleLoggerSettings = class
    interface IConsoleLoggerSettings
Public Class ConfigurationConsoleLoggerSettings
Implements IConsoleLoggerSettings
继承
ConfigurationConsoleLoggerSettings
属性
实现

构造函数

ConfigurationConsoleLoggerSettings(IConfiguration)
已过时.

创建 ConfigurationConsoleLoggerSettings 的新实例。

属性

ChangeToken
已过时.

获取传播 IChangeToken 已发生更改的通知的 。

IncludeScopes
已过时.

获取一个值,该值指示消息中是否包含范围。

方法

Equals(Object)
已过时.

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

作为默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object 的浅表副本。

(继承自 Object)
Reload()
已过时.

从配置中重新加载设置。

ToString()
已过时.

返回表示当前对象的字符串。

(继承自 Object)
TryGetSwitch(String, LogLevel)
已过时.

获取指定开关的日志级别。

适用于