Share via


ConsoleFormatter 類別

定義

允許自訂的記錄訊息格式。

public ref class ConsoleFormatter abstract
public abstract class ConsoleFormatter
type ConsoleFormatter = class
Public MustInherit Class ConsoleFormatter
繼承
ConsoleFormatter

建構函式

ConsoleFormatter(String)

初始化 ConsoleFormatter 的新執行個體。

屬性

Name

取得與主控台記錄格式器建立關聯的名稱。

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)
Write<TState>(LogEntry<TState>, IExternalScopeProvider, TextWriter)

允許自訂的記錄訊息格式。

適用於