1 instantiation of Scope
Microsoft.Extensions.Telemetry (1)
Logging\Import\LoggerFactoryScopeProvider.cs (1)
113
var newScope = new
Scope
(this, state, parent);
7 references to Scope
Microsoft.Extensions.Telemetry (7)
Logging\Import\LoggerFactoryScopeProvider.cs (7)
37
private readonly AsyncLocal<
Scope
?> _currentScope = new AsyncLocal<
Scope
?>();
44
void Report(
Scope
? current)
112
Scope
? parent = _currentScope.Value;
113
var
newScope = new Scope(this, state, parent);
124
internal Scope(LoggerFactoryScopeProvider provider, object? state,
Scope
? parent)
131
public
Scope
? Parent { get; }