LoggingBuilderExtensions.ClearProviders(ILoggingBuilder) Methode

Definition

Entfernt alle Protokollanbieter aus builderRemoves all logger providers from builder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ ClearProviders(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder ClearProviders (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member ClearProviders : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function ClearProviders (builder As ILoggingBuilder) As ILoggingBuilder

Parameter

builder
ILoggingBuilder

Der Protokollierungsgenerator, aus dem Protokollierungsanbieter entfernt werden sollenThe logging builder to remove logging providers from.

Gibt zurück

ILoggingBuilder

Der Protokollierungsgenerator mit entfernten ProtokollierungsanbieternThe logging builder with logger providers removed.

Gilt für: