<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0-preview.7.24405.7" />

IExternalScopeProvider

public interface IExternalScopeProvider
Represents a storage of common scope data.
using System; using System.Runtime.CompilerServices; namespace Microsoft.Extensions.Logging { [System.Runtime.CompilerServices.NullableContext(1)] public interface IExternalScopeProvider { void ForEachScope<[System.Runtime.CompilerServices.Nullable(2)] TState>([System.Runtime.CompilerServices.Nullable(new byte[] { 1, 2, 1 })] Action<object, TState> callback, TState state); IDisposable Push([System.Runtime.CompilerServices.Nullable(2)] object state); } }