Share via


MetricsBuilderConsoleExtensions.AddDebugConsole(IMetricsBuilder) Method

Definition

Enables console output for metrics for debugging purposes. This is not recommended for production use.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Diagnostics::Metrics::IMetricsBuilder ^ AddDebugConsole(Microsoft::Extensions::Diagnostics::Metrics::IMetricsBuilder ^ builder);
public static Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder AddDebugConsole (this Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder builder);
static member AddDebugConsole : Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder -> Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder
<Extension()>
Public Function AddDebugConsole (builder As IMetricsBuilder) As IMetricsBuilder

Parameters

builder
IMetricsBuilder

The metrics builder.

Returns

The original metrics builder for chaining.

Applies to