63 references to CreateLogger
Aspire.Dashboard (2)
Model\BrowserTimeProvider.cs (1)
20_logger = loggerFactory.CreateLogger(typeof(BrowserTimeProvider));
Otlp\Storage\TelemetryRepository.cs (1)
58var logger = loggerFactory.CreateLogger(typeof(TelemetryRepository));
Aspire.Dashboard.Tests (1)
Integration\OtlpGrpcServiceTests.cs (1)
159var logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.DataProtection (1)
TypeForwardingActivator.cs (1)
27_logger = loggerFactory.CreateLogger(typeof(TypeForwardingActivator));
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\KeyRingBasedDataProtectorTests.cs (1)
650return loggerFactory.CreateLogger(typeof(KeyRingBasedDataProtector));
Microsoft.AspNetCore.Http.Connections.Client (5)
HttpConnection.cs (1)
146_logger = _loggerFactory.CreateLogger(typeof(HttpConnection));
Internal\LoggingHttpMessageHandler.cs (1)
22_logger = loggerFactory.CreateLogger(typeof(LoggingHttpMessageHandler));
Internal\LongPollingTransport.cs (1)
39_logger = (loggerFactory ?? NullLoggerFactory.Instance).CreateLogger(typeof(LongPollingTransport));
Internal\ServerSentEventsTransport.cs (1)
42_logger = (loggerFactory ?? NullLoggerFactory.Instance).CreateLogger(typeof(ServerSentEventsTransport));
Internal\WebSocketsTransport.cs (1)
78_logger = loggerFactory?.CreateLogger(typeof(WebSocketsTransport)) ?? NullLogger.Instance;
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2793return loggerFactory.CreateLogger(typeof(RequestDelegateFactory));
Microsoft.AspNetCore.Http.Results (2)
ProblemHttpResult.cs (1)
54var logger = loggerFactory.CreateLogger(typeof(ProblemHttpResult));
ValidationProblem.cs (1)
57var logger = loggerFactory.CreateLogger(typeof(ValidationProblem));
Microsoft.AspNetCore.HttpLogging (1)
FileLoggerProcessor.cs (1)
42_logger = factory.CreateLogger(typeof(FileLoggerProcessor));
Microsoft.AspNetCore.Identity (2)
SecurityStampValidator.cs (2)
35Logger = logger.CreateLogger(GetType()); 54Logger = logger.CreateLogger(GetType());
Microsoft.AspNetCore.InternalTesting (1)
LoggedTest\LoggedTestBase.cs (1)
87Logger = loggerFactory.CreateLogger(classType);
Microsoft.AspNetCore.Mvc.Core (32)
ChallengeResult.cs (1)
97var logger = loggerFactory.CreateLogger(typeof(ChallengeResult));
Filters\DisableRequestSizeLimitFilter.cs (1)
22_logger = loggerFactory.CreateLogger(typeof(DisableRequestSizeLimitFilter));
Filters\OutputCacheFilter.cs (1)
23_logger = loggerFactory.CreateLogger(GetType());
Filters\RequestFormLimitsFilter.cs (1)
18_logger = loggerFactory.CreateLogger(typeof(RequestFormLimitsFilter));
Filters\RequestSizeLimitFilter.cs (1)
23_logger = loggerFactory.CreateLogger(typeof(RequestSizeLimitFilter));
Filters\ResponseCacheFilter.cs (1)
25_logger = loggerFactory.CreateLogger(GetType());
ForbidResult.cs (1)
98var logger = loggerFactory.CreateLogger(typeof(ForbidResult));
Formatters\FormatFilter.cs (1)
33_logger = loggerFactory.CreateLogger(GetType());
Infrastructure\ControllerActionInvokerProvider.cs (1)
51_logger = loggerFactory.CreateLogger(typeof(ControllerActionInvoker));
Infrastructure\ModelStateInvalidFilterFactory.cs (1)
24return new ModelStateInvalidFilter(options.Value, loggerFactory.CreateLogger(typeof(ModelStateInvalidFilter)));
ModelBinding\Binders\BodyModelBinder.cs (1)
79_logger = loggerFactory?.CreateLogger(typeof(BodyModelBinder)) ?? NullLogger<BodyModelBinder>.Instance;
ModelBinding\Binders\ByteArrayModelBinder.cs (1)
25_logger = loggerFactory.CreateLogger(typeof(ByteArrayModelBinder));
ModelBinding\Binders\CollectionModelBinder.cs (1)
61Logger = loggerFactory.CreateLogger(GetType());
ModelBinding\Binders\ComplexObjectModelBinderProvider.cs (1)
25var logger = loggerFactory.CreateLogger(typeof(ComplexObjectModelBinder));
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
74_logger = loggerFactory.CreateLogger(typeof(ComplexTypeModelBinder));
ModelBinding\Binders\DateTimeModelBinder.cs (1)
29_logger = loggerFactory.CreateLogger(typeof(DateTimeModelBinder));
ModelBinding\Binders\DecimalModelBinder.cs (1)
31_logger = loggerFactory.CreateLogger(typeof(DecimalModelBinder));
ModelBinding\Binders\DoubleModelBinder.cs (1)
31_logger = loggerFactory.CreateLogger(typeof(DoubleModelBinder));
ModelBinding\Binders\FloatModelBinder.cs (1)
31_logger = loggerFactory.CreateLogger(typeof(FloatModelBinder));
ModelBinding\Binders\FormCollectionModelBinder.cs (1)
29_logger = loggerFactory.CreateLogger(typeof(FormCollectionModelBinder));
ModelBinding\Binders\FormFileModelBinder.cs (1)
30_logger = loggerFactory.CreateLogger(typeof(FormFileModelBinder));
ModelBinding\Binders\HeaderModelBinder.cs (2)
27_logger = loggerFactory.CreateLogger(typeof(HeaderModelBinder)); 41_logger = loggerFactory.CreateLogger(typeof(HeaderModelBinder));
ModelBinding\Binders\HeaderModelBinderProvider.cs (1)
30var logger = loggerFactory.CreateLogger(typeof(HeaderModelBinderProvider));
ModelBinding\Binders\KeyValuePairModelBinder.cs (1)
35_logger = loggerFactory.CreateLogger(typeof(KeyValuePairModelBinder<TKey, TValue>));
ModelBinding\Binders\SimpleTypeModelBinder.cs (1)
31_logger = loggerFactory.CreateLogger(typeof(SimpleTypeModelBinder));
ModelBinding\Binders\TryParseModelBinder.cs (1)
39_logger = loggerFactory.CreateLogger(typeof(TryParseModelBinder));
ModelBinding\ParameterBinder.cs (1)
46Logger = loggerFactory.CreateLogger(GetType());
Routing\MvcAttributeRouteHandler.cs (1)
29_logger = loggerFactory.CreateLogger(typeof(MvcAttributeRouteHandler));
SignInResult.cs (1)
84var logger = loggerFactory.CreateLogger(typeof(SignInResult));
SignOutResult.cs (1)
114var logger = loggerFactory.CreateLogger(typeof(SignOutResult));
StatusCodeResult.cs (1)
40var logger = factory.CreateLogger(typeof(StatusCodeResult));
Microsoft.AspNetCore.Mvc.Cors (1)
CorsAuthorizationFilter.cs (1)
49_logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
XmlDataContractSerializerOutputFormatter.cs (1)
85_logger = loggerFactory.CreateLogger(GetType());
XmlSerializerOutputFormatter.cs (1)
82_logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (2)
53var jsonInputPatchLogger = _loggerFactory.CreateLogger(typeof(NewtonsoftJsonPatchInputFormatter)); 62var jsonInputLogger = _loggerFactory.CreateLogger(typeof(NewtonsoftJsonInputFormatter));
Microsoft.AspNetCore.Mvc.Razor (1)
TagHelpers\TagHelperComponentTagHelper.cs (1)
40_logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageResponseCacheFilter.cs (1)
26_logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\ValidateAntiforgeryTokenAuthorizationFilter.cs (1)
20_logger = loggerFactory.CreateLogger(GetType());
Microsoft.AspNetCore.SignalR.Client.Core (3)
HubConnection.cs (1)
237_logger = _loggerFactory.CreateLogger(typeof(HubConnection));
Internal\InvocationRequest.cs (2)
84: base(cancellationToken, resultType, invocationId, loggerFactory.CreateLogger(typeof(Streaming)), hubConnection, activity) 172: base(cancellationToken, resultType, invocationId, loggerFactory.CreateLogger(typeof(NonStreaming)), hubConnection, activity)
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
80_logger = loggerFactory.CreateLogger(typeof(HubConnectionContext));
Microsoft.CodeAnalysis.LanguageServer (1)
Services\StarredCompletions\StarredCompletionsAssemblyHelper.cs (1)
52s_logger = loggerFactory.CreateLogger(typeof(StarredCompletionAssemblyHelper));
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
64_logger = services.GetService<ILoggerFactory>()?.CreateLogger(typeof(HybridCache)) ?? NullLogger.Instance;