Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ActivityTrackingOptions Enum
Definition
- Namespace:
- Microsoft.Extensions.Logging
- Assembly:
- Microsoft.Extensions.Logging.dll
- Package:
- Microsoft.Extensions.Logging v11.0.0-preview.5.26302.115
- Source:
- ActivityTrackingOptions.cs
- Source:
- ActivityTrackingOptions.cs
- Source:
- ActivityTrackingOptions.cs
- Source:
- ActivityTrackingOptions.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flags to indicate which trace context parts should be included with the logging scopes.
This enumeration supports a bitwise combination of its member values.
public enum class ActivityTrackingOptions
[System.Flags]
public enum ActivityTrackingOptions
[<System.Flags>]
type ActivityTrackingOptions =
Public Enum ActivityTrackingOptions
- Inheritance
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | None of the trace context part will be included in the logging. |
| SpanId | 1 | Span ID will be included in the logging. |
| TraceId | 2 | Trace ID will be included in the logging. |
| ParentId | 4 | Parent ID will be included in the logging. |
| TraceState | 8 | Trace State will be included in the logging. |
| TraceFlags | 16 | Trace flags will be included in the logging. |
| Tags | 32 | Tags will be included in the logging. |
| Baggage | 64 | Items of baggage will be included in the logging. |
Applies to
Feedback
Was this page helpful?
