1 instantiation of Scope
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
109var newScope = new Scope(this, state, parent);
7 references to Scope
Microsoft.Extensions.Telemetry (7)
Logging\Import\LoggerFactoryScopeProvider.cs (7)
33private readonly AsyncLocal<Scope?> _currentScope = new AsyncLocal<Scope?>(); 40void Report(Scope? current) 108Scope? parent = _currentScope.Value; 109var newScope = new Scope(this, state, parent); 120internal Scope(LoggerFactoryScopeProvider provider, object? state, Scope? parent) 127public Scope? Parent { get; }