Table of Contents

Class LogLevelsConfiguration

Namespace
Steeltoe.Logging
Assembly
Steeltoe.Logging.Abstractions.dll

Provides minimum log levels per logger category, originating from configuration. Used to initialize or update an IDynamicLoggerProvider.

public sealed class LogLevelsConfiguration
Inheritance
LogLevelsConfiguration
Inherited Members

Constructors

LogLevelsConfiguration(IReadOnlyDictionary<string, LogLevel>)

public LogLevelsConfiguration(IReadOnlyDictionary<string, LogLevel> minLevelsPerCategory)

Parameters

minLevelsPerCategory IReadOnlyDictionary<string, LogLevel>

Properties

MinLevelsPerCategory

Gets the minimum log levels per logger category, which is typically a namespace or fully-qualified type name. An empty string represents the default minimum log level.

public IReadOnlyDictionary<string, LogLevel> MinLevelsPerCategory { get; }

Property Value

IReadOnlyDictionary<string, LogLevel>