LoggingServiceCollectionExtensions LoggingServiceCollectionExtensions LoggingServiceCollectionExtensions LoggingServiceCollectionExtensions Class

Definition

Extension methods for setting up logging services in an IServiceCollection.

public ref class LoggingServiceCollectionExtensions abstract sealed
public static class LoggingServiceCollectionExtensions
type LoggingServiceCollectionExtensions = class
Public Module LoggingServiceCollectionExtensions
Inheritance
LoggingServiceCollectionExtensionsLoggingServiceCollectionExtensionsLoggingServiceCollectionExtensionsLoggingServiceCollectionExtensions

Methods

AddLogging(IServiceCollection) AddLogging(IServiceCollection) AddLogging(IServiceCollection) AddLogging(IServiceCollection)

Adds logging services to the specified IServiceCollection.

AddLogging(IServiceCollection, Action<ILoggingBuilder>) AddLogging(IServiceCollection, Action<ILoggingBuilder>) AddLogging(IServiceCollection, Action<ILoggingBuilder>) AddLogging(IServiceCollection, Action<ILoggingBuilder>)

Adds logging services to the specified IServiceCollection.

Applies to