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
namestringNamespace
configuredLogLevel?Original log level
effectiveLogLevelCurrently 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
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()