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)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.