LoggerExternalScopeProvider Class

Definition

Default implementation of IExternalScopeProvider.

C#
public class LoggerExternalScopeProvider : Microsoft.Extensions.Logging.IExternalScopeProvider
Inheritance
LoggerExternalScopeProvider
Implements

Constructors

Methods

ForEachScope<TState>(Action<Object,TState>, TState)

Executes callback for each currently active scope objects in order of creation. All callbacks are guaranteed to be called inline from this method.

Push(Object)

Adds scope object to the list.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)