Table of Contents

Class LoggerExternalScopeProvider

Namespace
Microsoft.Extensions.Logging
Assembly
Microsoft.Extensions.Logging.Abstractions.dll

Default implemenation of IExternalScopeProvider

public class LoggerExternalScopeProvider : IExternalScopeProvider
Inheritance
LoggerExternalScopeProvider
Implements
Inherited Members

Constructors

LoggerExternalScopeProvider()

public LoggerExternalScopeProvider()

Methods

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

public void ForEachScope<TState>(Action<object, TState> callback, TState state)

Parameters

callback Action<object, TState>
state TState

Type Parameters

TState

Push(object)

public IDisposable Push(object state)

Parameters

state object

Returns

IDisposable