1 instantiation of ResourceLoggerState
Aspire.Hosting (1)
ApplicationModel\ResourceLoggerService.cs (1)
297var state = new ResourceLoggerState(TimeProvider);
10 references to ResourceLoggerState
Aspire.Hosting (10)
ApplicationModel\ResourceLoggerService.cs (10)
22private readonly ConcurrentDictionary<string, ResourceLoggerState> _loggers = new(); 23private Action<(string, ResourceLoggerState)>? _loggerAdded; 24private event Action<(string, ResourceLoggerState)> LoggerAdded 145var state = GetResourceLoggerState(resourceName); 223void OnLoggerAdded((string Name, ResourceLoggerState State) loggerItem) 294internal ResourceLoggerState GetResourceLoggerState(string resourceName) => 297var state = new ResourceLoggerState(TimeProvider); 302internal Dictionary<string, ResourceLoggerState> Loggers => _loggers.ToDictionary(); 320/// Creates a new <see cref="ResourceLoggerState"/>. 534private sealed class ResourceLogger(ResourceLoggerState loggerState) : ILogger