Table of Contents

Interface IDynamicLoggerProvider

Namespace
Steeltoe.Extensions.Logging
Assembly
Steeltoe.Extensions.Logging.Abstractions.dll
public interface IDynamicLoggerProvider : ILoggerProvider, IDisposable
Inherited Members

Methods

GetLoggerConfigurations()

Get a list of all known namespaces and loggers

ICollection<ILoggerConfiguration> GetLoggerConfigurations()

Returns

ICollection<ILoggerConfiguration>

A collection of all known namespaces and loggers with their configurations

SetLogLevel(string, LogLevel?)

Set the logging threshold for a logger

void SetLogLevel(string category, LogLevel? level)

Parameters

category string

A namespace or fully qualified logger name to adjust

level LogLevel?

The minimum level that should be logged