/
LatencyConsoleOptions.cs
34 lines (30 loc) · 1.09 KB
/
LatencyConsoleOptions.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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Extensions.Diagnostics.Latency;
/// <summary>
/// Options for console latency data exporter.
/// </summary>
public class LatencyConsoleOptions
{
/// <summary>
/// Gets or sets a value indicating whether to emit latency checkpoint information to the console.
/// </summary>
/// <value>
/// Defaults to <see langword="true" />.
/// </value>
public bool OutputCheckpoints { get; set; } = true;
/// <summary>
/// Gets or sets a value indicating whether to emit latency tag information to the console.
/// </summary>
/// <value>
/// Defaults to <see langword="true" />.
/// </value>
public bool OutputTags { get; set; } = true;
/// <summary>
/// Gets or sets a value indicating whether to emit latency measure information to the console.
/// </summary>
/// <value>
/// Defaults to <see langword="true" />.
/// </value>
public bool OutputMeasures { get; set; } = true;
}