2 instantiations of ScopeLogger
Microsoft.Extensions.Telemetry (2)
Logging\ExtendedLoggerFactory.cs (2)
240
scopeLoggers?.Add(new
ScopeLogger
(logger: loggerInformation.Logger, externalScopeProvider: null));
246
scopeLoggers?.Add(new
ScopeLogger
(logger: null, externalScopeProvider: _scopeProvider));
5 references to ScopeLogger
Microsoft.Extensions.Telemetry (5)
Logging\ExtendedLogger.cs (2)
32
public
ScopeLogger
[] ScopeLoggers { get; set; } = Array.Empty<
ScopeLogger
>();
Logging\ExtendedLoggerFactory.cs (3)
218
private (MessageLogger[] messageLoggers,
ScopeLogger
[] scopeLoggers) ApplyFilters(LoggerInformation[] loggers)
221
List<
ScopeLogger
>? scopeLoggers = _filterOptions.CaptureScopes ? [] : null;
249
return (messageLoggers.ToArray(), scopeLoggers?.ToArray() ?? Array.Empty<
ScopeLogger
>());