Table of Contents

Class DynamicLoggerHostBuilderExtensions

Namespace
Steeltoe.Extensions.Logging
Assembly
Steeltoe.Extensions.Logging.DynamicLogger.dll
public static class DynamicLoggerHostBuilderExtensions
Inheritance
DynamicLoggerHostBuilderExtensions
Inherited Members

Methods

AddDynamicLogging(IHostBuilder)

Adds Dynamic Console Logging to your application. Removes ConsoleLoggerProvider if found (to prevent duplicate console log entries)

Also calls ILoggingBuilder.AddConfiguration() if not previously called.
public static IHostBuilder AddDynamicLogging(this IHostBuilder hostBuilder)

Parameters

hostBuilder IHostBuilder

Your HostBuilder

Returns

IHostBuilder