Del via


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
LoggingServiceCollectionExtensions

Methods

AddLogging(IServiceCollection, Action<ILoggingBuilder>)

Adds logging services to the specified IServiceCollection.

AddLogging(IServiceCollection)

Adds logging services to the specified IServiceCollection.

Applies to