語言

SimpleConsoleFormatterOptions.SingleLine 屬性

定義

會取得或設定一個值,表示整則訊息是否被記錄在一行內。

public:
 property bool SingleLine { bool get(); void set(bool value); };
public bool SingleLine { get; set; }
member this.SingleLine : bool with get, set
Public Property SingleLine As Boolean

屬性值

true 如果整則訊息都記錄在一行內。

適用於