LoggingServiceCollectionExtensions Klass

Definition

Tilläggsmetoder för att konfigurera loggningstjänster i en IServiceCollection.

public ref class LoggingServiceCollectionExtensions abstract sealed
public static class LoggingServiceCollectionExtensions
type LoggingServiceCollectionExtensions = class
Public Module LoggingServiceCollectionExtensions
Arv
LoggingServiceCollectionExtensions

Metoder

Name Description
AddLogging(IServiceCollection, Action<ILoggingBuilder>)

Lägger till loggningstjänster till den angivna IServiceCollection.

AddLogging(IServiceCollection)

Lägger till loggningstjänster till den angivna IServiceCollection.

Gäller för