Table of Contents

Class TracingServiceCollectionExtensions

Namespace
Steeltoe.Management.Tracing
Assembly
Steeltoe.Management.Tracing.dll
public static class TracingServiceCollectionExtensions
Inheritance
TracingServiceCollectionExtensions
Inherited Members

Methods

AddTracingLogProcessor(IServiceCollection)

Registers an IDynamicMessageProcessor that adds tracing details from Current (if found) to log messages.

public static IServiceCollection AddTracingLogProcessor(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

The incoming services so that additional calls can be chained.

Remarks

This method also calls AddDynamicConsole(ILoggingBuilder) to ensure that an IDynamicLoggerProvider has been registered.