Share via


ConsoleLoggerSettings 類別

定義

警告

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

此類型只會保留以供相容性使用。 建議的替代方法是 ConsoleLoggerOptions。

public ref class ConsoleLoggerSettings : Microsoft::Extensions::Logging::Console::IConsoleLoggerSettings
[System.Obsolete("This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.", true)]
public class ConsoleLoggerSettings : Microsoft.Extensions.Logging.Console.IConsoleLoggerSettings
[<System.Obsolete("This type is retained only for compatibility. The recommended alternative is ConsoleLoggerOptions.", true)>]
type ConsoleLoggerSettings = class
    interface IConsoleLoggerSettings
Public Class ConsoleLoggerSettings
Implements IConsoleLoggerSettings
繼承
ConsoleLoggerSettings
屬性
實作

建構函式

ConsoleLoggerSettings()
已淘汰.

此類型只會保留以供相容性使用。 建議的替代方法是 ConsoleLoggerOptions。

屬性

ChangeToken
已淘汰.

此屬性只會保留以供相容性使用。

DisableColors
已淘汰.

此屬性只會保留以供相容性使用。

IncludeScopes
已淘汰.

此屬性只會保留以供相容性使用。

Switches
已淘汰.

此屬性只會保留以供相容性使用。

方法

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
Reload()
已淘汰.

這個方法只會保留以供相容性使用。

ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)
TryGetSwitch(String, LogLevel)
已淘汰.

這個方法只會保留以供相容性使用。

適用於