Class DynamicLoggerConfiguration
Inheritance
System.Object
DynamicLoggerConfiguration
Implements
Namespace: Steeltoe.Extensions.Logging
Assembly: Steeltoe.Extensions.Logging.Abstractions.dll
Syntax
public class DynamicLoggerConfiguration : object, ILoggerConfiguration
Constructors
| Edit this page View SourceDynamicLoggerConfiguration(String, Nullable<LogLevel>, LogLevel)
Initializes a new instance of the DynamicLoggerConfiguration class.
Declaration
public DynamicLoggerConfiguration(string name, LogLevel? configured, LogLevel effective)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Namespace |
System.Nullable<LogLevel> | configured | Original log level |
LogLevel | effective | Currently effective log level |
Properties
| Edit this page View SourceConfiguredLevel
Gets level from base app configuration (if present)
Declaration
public LogLevel? ConfiguredLevel { get; }
Property Value
Type | Description |
---|---|
System.Nullable<LogLevel> |
EffectiveLevel
Gets running level of the logger
Declaration
public LogLevel EffectiveLevel { get; }
Property Value
Type | Description |
---|---|
LogLevel |
Name
Gets namespace this configuration is applied to
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |