Class DynamicLoggerConfiguration
- Namespace
- Steeltoe.Extensions.Logging
- Assembly
- Steeltoe.Extensions.Logging.Abstractions.dll
public class DynamicLoggerConfiguration : ILoggerConfiguration
- Inheritance
-
DynamicLoggerConfiguration
- Implements
- Inherited Members
Constructors
DynamicLoggerConfiguration(string, LogLevel?, LogLevel)
Initializes a new instance of the DynamicLoggerConfiguration class.
public DynamicLoggerConfiguration(string name, LogLevel? configured, LogLevel effective)
Parameters
name
stringNamespace
configured
LogLevel?Original log level
effective
LogLevelCurrently effective log level
Properties
ConfiguredLevel
Gets level from base app configuration (if present)
public LogLevel? ConfiguredLevel { get; }
Property Value
EffectiveLevel
Gets running level of the logger
public LogLevel EffectiveLevel { get; }
Property Value
Name
Gets namespace this configuration is applied to
public string Name { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()