Table of Contents

Class EndpointServiceCollectionExtensions

Namespace
Steeltoe.Management.Endpoint.Loggers
Assembly
Steeltoe.Management.EndpointCore.dll
public static class EndpointServiceCollectionExtensions
Inheritance
EndpointServiceCollectionExtensions
Inherited Members

Methods

AddLoggersActuator(IServiceCollection, IConfiguration)

Adds components of the Loggers actuator to Microsoft-DI

public static void AddLoggersActuator(this IServiceCollection services, IConfiguration config = null)

Parameters

services IServiceCollection

Service collection to add logging to

config IConfiguration

Application configuration. Retrieved from the Microsoft.Extensions.DependencyInjection.IServiceCollection if not provided (this actuator looks for a settings starting with management:endpoints:loggers)