LoggerFactoryOptions.ActivityTrackingOptions 属性

定义

获取或设置活动跟踪选项,以指示应将跟踪上下文信息的哪些部分包含在日志记录范围中。

public:
 property Microsoft::Extensions::Logging::ActivityTrackingOptions ActivityTrackingOptions { Microsoft::Extensions::Logging::ActivityTrackingOptions get(); void set(Microsoft::Extensions::Logging::ActivityTrackingOptions value); };
public Microsoft.Extensions.Logging.ActivityTrackingOptions ActivityTrackingOptions { get; set; }
member this.ActivityTrackingOptions : Microsoft.Extensions.Logging.ActivityTrackingOptions with get, set
Public Property ActivityTrackingOptions As ActivityTrackingOptions

属性值

ActivityTrackingOptions

活动跟踪选项实例。

适用于