Language

GlobalLogBufferingOptions.IncludeScopes プロパティ

定義

ログ レコードがバッファー処理されるときにログ スコープがログ レコードの属性に追加されるかどうかを示す値を取得または設定します。

public:
 property bool IncludeScopes { bool get(); void set(bool value); };
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0003", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public bool IncludeScopes { get; set; }
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0003", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
member this.IncludeScopes : bool with get, set
Public Property IncludeScopes As Boolean

プロパティ値

属性

注釈

"{OriginalFormat}" ペアを使用せずに、 IEnumerable<KeyValuePair<string, object?>> を実装するスコープのみが追加されます。 スコープ値は文字列に変換され、 MaxLogRecordSizeInBytes と MaxBufferSizeInBytesにカウントされます。

適用対象