Table of Contents

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 string

Namespace

configured LogLevel?

Original log level

effective LogLevel

Currently effective log level

Properties

ConfiguredLevel

Gets level from base app configuration (if present)

public LogLevel? ConfiguredLevel { get; }

Property Value

LogLevel?

EffectiveLevel

Gets running level of the logger

public LogLevel EffectiveLevel { get; }

Property Value

LogLevel

Name

Gets namespace this configuration is applied to

public string Name { get; }

Property Value

string

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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.