Interface IDynamicLoggerProvider
Namespace: Steeltoe.Extensions.Logging
Assembly: Steeltoe.Extensions.Logging.Abstractions.dll
Syntax
public interface IDynamicLoggerProvider
Methods
| Edit this page View SourceGetLoggerConfigurations()
Get a list of all known namespaces and loggers
Declaration
ICollection<ILoggerConfiguration> GetLoggerConfigurations()
Returns
Type | Description |
---|---|
ICollection<ILoggerConfiguration> | A collection of all known namespaces and loggers with their configurations |
SetLogLevel(String, Nullable<LogLevel>)
Set the logging threshold for a logger
Declaration
void SetLogLevel(string category, LogLevel? level)
Parameters
Type | Name | Description |
---|---|---|
System.String | category | A namespace or fully qualified logger name to adjust |
System.Nullable<LogLevel> | level | The minimum level that should be logged |