/
ActivityTrackingOptions.cs
53 lines (45 loc) · 1.43 KB
/
ActivityTrackingOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.Extensions.Logging
{
/// <summary>
/// Flags to indicate which trace context parts should be included with the logging scopes.
/// </summary>
[Flags]
public enum ActivityTrackingOptions
{
/// <summary>
/// None of the trace context part will be included in the logging.
/// </summary>
None = 0x0000,
/// <summary>
/// Span Id will be included in the logging.
/// </summary>
SpanId = 0x0001,
/// <summary>
/// Trace Id will be included in the logging.
/// </summary>
TraceId = 0x0002,
/// <summary>
/// Parent Id will be included in the logging.
/// </summary>
ParentId = 0x0004,
/// <summary>
/// Trace State will be included in the logging.
/// </summary>
TraceState = 0x0008,
/// <summary>
/// Trace flags will be included in the logging.
/// </summary>
TraceFlags = 0x0010,
/// <summary>
/// Tags will be included in the logging.
/// </summary>
Tags = 0x0020,
/// <summary>
/// Items of baggage will be included in the logging.
/// </summary>
Baggage = 0x0040
}
}