10 writes to ActivityTrackingOptions
Microsoft.AspNetCore (2)
WebApplicationBuilder.cs (1)
321
options.
ActivityTrackingOptions
=
WebHost.cs (1)
198
options.
ActivityTrackingOptions
= ActivityTrackingOptions.SpanId
Microsoft.Extensions.Hosting (1)
HostingHostBuilderExtensions.cs (1)
312
options.
ActivityTrackingOptions
=
Microsoft.Extensions.Telemetry.Tests (7)
Logging\ExtendedLoggerFactoryTests.cs (7)
199
.Configure(o => o.
ActivityTrackingOptions
= options)
238
Utils.CreateLoggerFactory(builder => { builder.Configure(o => o.
ActivityTrackingOptions
= (ActivityTrackingOptions)0xFF00); }));
249
.Configure(o => o.
ActivityTrackingOptions
= ActivityTrackingOptions.Baggage)
282
.Configure(o => o.
ActivityTrackingOptions
= ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Tags)
311
.Configure(o => o.
ActivityTrackingOptions
= ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Baggage | ActivityTrackingOptions.Tags)
339
.Configure(o => o.
ActivityTrackingOptions
= ActivityTrackingOptions.Baggage | ActivityTrackingOptions.Tags)
413
.Configure(o => o.
ActivityTrackingOptions
= ActivityTrackingOptions.TraceId | ActivityTrackingOptions.Baggage | ActivityTrackingOptions.Tags)
6 references to ActivityTrackingOptions
Microsoft.Extensions.Logging (3)
LoggerFactory.cs (3)
92
if ((_factoryOptions.
ActivityTrackingOptions
& ActivityTrackingOptionsMask) != 0)
94
throw new ArgumentException(SR.Format(SR.InvalidActivityTrackingOptions, _factoryOptions.
ActivityTrackingOptions
), nameof(options));
206
_scopeProvider ??= new LoggerFactoryScopeProvider(_factoryOptions.
ActivityTrackingOptions
);
Microsoft.Extensions.Telemetry (3)
Logging\ExtendedLoggerFactory.cs (3)
53
if ((_factoryOptions.
ActivityTrackingOptions
& ActivityTrackingOptionsMask) != 0)
55
Throw.ArgumentException($"{_factoryOptions.
ActivityTrackingOptions
} is invalid ActivityTrackingOptions value.", nameof(factoryOptions));
201
_scopeProvider ??= new LoggerFactoryScopeProvider(_factoryOptions.
ActivityTrackingOptions
);