16 writes to Logger
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
71
Logger
= _logger,
Aspire.Dashboard.Components.Tests (3)
Controls\PlotlyChartTests.cs (1)
56
var context = new OtlpContext { Options = options,
Logger
= logger };
Controls\StructuredLogDetailsTests.cs (1)
25
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
300
Logger
= logger ?? NullLogger.Instance
Aspire.Dashboard.Tests (12)
Model\SpanWaterfallViewModelTests.cs (5)
19
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
49
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
84
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
124
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
146
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
Model\TraceHelpersTests.cs (5)
18
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
39
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
66
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
93
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
127
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
TelemetryRepositoryTests\OtlpSpanTests.cs (1)
20
var context = new OtlpContext {
Logger
= NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
300
Logger
= logger ?? NullLogger.Instance
15 references to Logger
Aspire.Dashboard (15)
Otlp\Model\OtlpApplication.cs (6)
95
Context.
Logger
.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name);
136
Context.
Logger
.LogInformation(ex, "Error adding metric.");
150
Context.
Logger
.LogInformation(ex, "Error adding metric.");
164
Context.
Logger
.LogInformation(ex, "Error adding metric.");
170
Context.
Logger
.LogInformation("Error adding summary metrics. Summary is not supported.");
174
Context.
Logger
.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
Otlp\Model\OtlpHelpers.cs (3)
232
context.
Logger
.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key);
309
context.
Logger
.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key);
464
context.
Logger
.LogInformation(ex, "Error adding scope.");
Otlp\Storage\Subscription.cs (1)
28
_callbackThrottler = new CallbackThrottler(name, telemetryRepository._otlpContext.
Logger
, telemetryRepository._subscriptionMinExecuteInterval, callback, executionContext);
Otlp\Storage\TelemetryRepository.cs (5)
317
_otlpContext.
Logger
.LogInformation(ex, "Error adding application.");
385
_otlpContext.
Logger
.LogInformation(ex, "Error adding log entry.");
843
_otlpContext.
Logger
.LogInformation(ex, "Error adding application.");
871
_otlpContext.
Logger
.LogInformation(ex, "Error adding application.");
1031
_otlpContext.
Logger
.LogInformation(ex, "Error adding span.");