Class InitialLevels
Initial set of LogLevels, Filters and DefaultFilter to initialize a IDynamicLoggerProvider
Inheritance
System.Object
InitialLevels
Namespace: Steeltoe.Extensions.Logging
Assembly: Steeltoe.Extensions.Logging.Abstractions.dll
Syntax
public class InitialLevels : object
Properties
| Edit this page View SourceDefaultLevelFilter
Gets or sets the filter to be used for any category that does not have a specified filter
Declaration
public System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool> DefaultLevelFilter { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.String, Microsoft.Extensions.Logging.LogLevel, System.Boolean> |
OriginalLevels
Gets or sets the a list of log levels by namespace
Declaration
public IDictionary<string, LogLevel> OriginalLevels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, LogLevel> |
RunningLevelFilters
Gets or sets the filters used to determine whether log entries will be logged
Declaration
public IDictionary<string, System.Func<string, Microsoft.Extensions.Logging.LogLevel, bool>> RunningLevelFilters { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Func<System.String, Microsoft.Extensions.Logging.LogLevel, System.Boolean>> |