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