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