共用方式為


MetricsBuilderConsoleExtensions.AddDebugConsole(IMetricsBuilder) 方法

定義

啟用用於偵錯之計量的控制台輸出。 不建議用於生產環境。

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

參數

builder
IMetricsBuilder

計量產生器。

傳回

用於鏈結的原始計量產生器。

適用於