LogPropertiesAttribute クラス

定義

パブリック プロパティをログ タグとしてログに記録する必要があるログ メソッド パラメーターをマークします。

public ref class LogPropertiesAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)]
public sealed class LogPropertiesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)>]
type LogPropertiesAttribute = class
    inherit Attribute
Public NotInheritable Class LogPropertiesAttribute
Inherits Attribute
継承
LogPropertiesAttribute
属性

コンストラクター

名前 説明
LogPropertiesAttribute()

パブリック プロパティをログ タグとしてログに記録する必要があるログ メソッド パラメーターをマークします。

プロパティ

名前 説明
OmitReferenceName

パラメーターまたはプロパティの名前の前に、ログに記録される各タグの生成された名前の前に付けるかどうかを示す値を取得または設定します。

SkipNullProperties

プロパティがログに記録されるかどうかを示す値 null 取得または設定します。

Transitive

複雑なオブジェクトであるプロパティに推移的にアクセスするかどうかを示す値を取得または設定します。

適用対象

こちらもご覧ください