1 interface inheriting from ILogger
Microsoft.Extensions.Logging.Abstractions (1)
71 implementations of ILogger
Aspire.Dashboard.Components.Tests (2)
Aspire.Dashboard.Tests (2)
Aspire.Hosting.Testing.Tests (2)
Aspire.Hosting.Tests (3)
Aspire.Playground.Tests (2)
Aspire.RabbitMQ.Client.Tests (1)
BasicTestApp (1)
BuildValidator (2)
Diagnostics.EFCore.FunctionalTests (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (5)
Interop.FunctionalTests (1)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.DataProtection.Tests (1)
Microsoft.AspNetCore.Hosting.Tests (3)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (2)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (1)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.Extensions.Diagnostics.Testing (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
Microsoft.Extensions.Logging (1)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.Debug (1)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.TraceSource (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.PerformanceTests (1)
Microsoft.Extensions.Telemetry.Tests (4)
Microsoft.Gen.Logging.Generated.Tests (1)
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
3023 references to ILogger
Aspire.Components.Common.Tests (2)
Aspire.Confluent.Kafka (3)
Aspire.Dashboard (9)
Aspire.Dashboard.Components.Tests (6)
Aspire.Dashboard.Tests (11)
Aspire.Hosting (36)
Aspire.Hosting.Azure.AppContainers (2)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Redis (2)
Aspire.Hosting.Testing (1)
Aspire.Hosting.Testing.Tests (5)
Aspire.Hosting.Tests (15)
Aspire.Playground.Tests (5)
Aspire.RabbitMQ.Client (1)
Aspire.RabbitMQ.Client.Tests (1)
AzureAppServicesHostingStartupSample (1)
AzureAppServicesSample (1)
AzureSearch.ApiService (6)
Program.cs (6)
21var logger = app.Logger;
44static async Task DeleteIfExistsAsync(ILogger logger, string indexName, SearchIndexClient searchIndexClient, CancellationToken cancellationToken)
60static async Task CreateIndexAsync(ILogger logger, string indexName, SearchIndexClient indexClient, CancellationToken cancellationToken)
70static async Task WriteDocumentsAsync(ILogger logger, SearchResults<Hotel> searchResults, CancellationToken cancellationToken)
78static async Task RunQueriesAsync(ILogger logger, SearchClient searchClient, CancellationToken cancellationToken)
145static async Task UploadDocumentsAsync(ILogger logger, SearchClient searchClient, CancellationToken cancellationToken)
BasicTestApp (5)
BasicWebSite (1)
BuildValidator (11)
CustomEncryptorSample (2)
CustomResources.AppHost (1)
Diagnostics.EFCore.FunctionalTests (1)
HtmlGenerationWebSite (1)
http2cat (2)
Http3SampleApp (1)
Identity.ExternalClaims (1)
IdentitySample.Mvc (2)
IIS.FunctionalTests (8)
IIS.LongTests (8)
IIS.NewHandler.FunctionalTests (8)
IIS.NewShim.FunctionalTests (8)
IIS.ShadowCopy.Tests (6)
IISExpress.FunctionalTests (8)
IISSample (1)
InMemory.FunctionalTests (17)
src\Servers\Kestrel\shared\ConnectionCompletion.cs (3)
12public static Task FireOnCompletedAsync(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>>? onCompleted)
22private static Task CompleteAsyncMayAwait(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
43private static async Task CompleteAsyncAwaited(Task currentTask, ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
Interop.FunctionalTests (7)
InteropClient (1)
Kestrel.SampleApp (1)
Microsoft.Analyzers.Extra.Tests (19)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore (2)
Microsoft.AspNetCore.Antiforgery (9)
Microsoft.AspNetCore.Authentication (16)
LoggingExtensions.cs (14)
9public static partial void RemoteAuthenticationError(this ILogger logger, string errorMessage);
12public static partial void SignInHandled(this ILogger logger);
15public static partial void SignInSkipped(this ILogger logger);
18public static partial void AuthenticationSchemeNotAuthenticatedWithFailure(this ILogger logger, string authenticationScheme, string failureMessage);
21public static partial void AuthenticationSchemeAuthenticated(this ILogger logger, string authenticationScheme);
24public static partial void AuthenticationSchemeNotAuthenticated(this ILogger logger, string authenticationScheme);
27public static partial void AuthenticationSchemeChallenged(this ILogger logger, string authenticationScheme);
30public static partial void AuthenticationSchemeForbidden(this ILogger logger, string authenticationScheme);
33public static partial void CorrelationPropertyNotFound(this ILogger logger, string correlationProperty);
36public static partial void CorrelationCookieNotFound(this ILogger logger, string correlationCookieName);
39public static partial void UnexpectedCorrelationCookieValue(this ILogger logger, string correlationCookieName, string correlationCookieValue);
42public static partial void AccessDeniedError(this ILogger logger);
45public static partial void AccessDeniedContextHandled(this ILogger logger);
48public static partial void AccessDeniedContextSkipped(this ILogger logger);
Microsoft.AspNetCore.Authentication.BearerToken (1)
Microsoft.AspNetCore.Authentication.Certificate (4)
Microsoft.AspNetCore.Authentication.Cookies (2)
Microsoft.AspNetCore.Authentication.JwtBearer (4)
Microsoft.AspNetCore.Authentication.Negotiate (14)
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (57)
LoggingExtensions.cs (57)
9public static partial void UpdatingConfiguration(this ILogger logger);
12public static partial void ConfigurationManagerRequestRefreshCalled(this ILogger logger);
15public static partial void AuthorizationCodeReceived(this ILogger logger);
18public static partial void TokenResponseReceived(this ILogger logger);
21public static partial void ReceivedIdToken(this ILogger logger);
24public static partial void RedeemingCodeForTokens(this ILogger logger);
27public static partial void TokenValidatedHandledResponse(this ILogger logger);
30public static partial void TokenValidatedSkipped(this ILogger logger);
33public static partial void AuthorizationCodeReceivedContextHandledResponse(this ILogger logger);
36public static partial void AuthorizationCodeReceivedContextSkipped(this ILogger logger);
39public static partial void TokenResponseReceivedHandledResponse(this ILogger logger);
42public static partial void TokenResponseReceivedSkipped(this ILogger logger);
45public static partial void AuthenticationFailedContextHandledResponse(this ILogger logger);
48public static partial void AuthenticationFailedContextSkipped(this ILogger logger);
51public static partial void MessageReceived(this ILogger logger, string redirectUrl);
54public static partial void MessageReceivedContextHandledResponse(this ILogger logger);
57public static partial void MessageReceivedContextSkipped(this ILogger logger);
60public static partial void RedirectToIdentityProviderForSignOutHandledResponse(this ILogger logger);
63public static partial void RedirectToIdentityProviderHandledResponse(this ILogger logger);
66public static partial void SignOutCallbackRedirectHandledResponse(this ILogger logger);
69public static partial void SignOutCallbackRedirectSkipped(this ILogger logger);
72public static partial void UserInformationReceivedHandledResponse(this ILogger logger);
75public static partial void UserInformationReceivedSkipped(this ILogger logger);
78public static partial void PushAuthorizationHandledClientAuthentication(this ILogger logger);
81public static partial void PushAuthorizationHandledPush(this ILogger logger);
84public static partial void PushAuthorizationSkippedPush(this ILogger logger);
87public static partial void InvalidLogoutQueryStringRedirectUrl(this ILogger logger, string redirectUrl);
90public static partial void NullOrEmptyAuthorizationResponseState(this ILogger logger);
93public static partial void UnableToReadAuthorizationResponseState(this ILogger logger);
96public static partial void ResponseError(this ILogger logger, string error, string errorDescription, string errorUri);
99public static partial void ResponseErrorWithStatusCode(this ILogger logger, string error, string errorDescription, string errorUri, int statusCode);
102public static partial void ExceptionProcessingMessage(this ILogger logger, Exception ex);
105public static partial void AccessTokenNotAvailable(this ILogger logger);
108public static partial void RetrievingClaims(this ILogger logger);
111public static partial void UserInfoEndpointNotSet(this ILogger logger);
114public static partial void UnableToProtectNonceCookie(this ILogger logger, Exception ex);
117public static partial void InvalidAuthenticationRequestUrl(this ILogger logger, string authenticationRequestUrl);
120public static partial void UnableToReadIdToken(this ILogger logger, string idToken);
123public static partial void InvalidSecurityTokenType(this ILogger logger, string? securityTokenType);
126public static partial void UnableToValidateIdToken(this ILogger logger, string idToken);
129public static partial void EnteringOpenIdAuthenticationHandlerHandleRemoteAuthenticateAsync(this ILogger logger, string openIdConnectHandlerType);
132public static partial void EnteringOpenIdAuthenticationHandlerHandleUnauthorizedAsync(this ILogger logger, string openIdConnectHandlerType);
135public static partial void EnteringOpenIdAuthenticationHandlerHandleSignOutAsync(this ILogger logger, string openIdConnectHandlerType);
138public static partial void UserInformationReceived(this ILogger logger, string user);
141public static partial void PostAuthenticationLocalRedirect(this ILogger logger, string redirectUri);
144public static partial void PostSignOutRedirect(this ILogger logger, string redirectUri);
147public static partial void RemoteSignOutHandledResponse(this ILogger logger);
150public static partial void RemoteSignOutSkipped(this ILogger logger);
153public static partial void RemoteSignOut(this ILogger logger);
157public static partial void RemoteSignOutSessionIdMissing(this ILogger logger);
161public static partial void RemoteSignOutSessionIdInvalid(this ILogger logger);
164public static partial void AuthenticationSchemeSignedOut(this ILogger logger, string authenticationScheme);
167public static partial void HandleChallenge(this ILogger logger, string location, string cookie);
171public static partial void RemoteSignOutIssuerMissing(this ILogger logger);
175public static partial void RemoteSignOutIssuerInvalid(this ILogger logger);
178public static partial void UnableToValidateIdTokenFromHandler(this ILogger logger, string idToken);
181public static partial void InvalidSecurityTokenTypeFromHandler(this ILogger logger, Type? securityTokenType);
Microsoft.AspNetCore.Authentication.Twitter (3)
Microsoft.AspNetCore.Authentication.WsFederation (7)
Microsoft.AspNetCore.Authorization (4)
Microsoft.AspNetCore.Authorization.Policy (2)
Microsoft.AspNetCore.BrowserTesting (2)
Microsoft.AspNetCore.Components (20)
RenderTree\Renderer.Log.cs (11)
14private static partial void InitializingChildComponent(ILogger logger, int componentId, Type componentType, int parentComponentId, Type parentComponentType);
17private static partial void InitializingRootComponent(ILogger logger, int componentId, Type componentType);
19public static void InitializingComponent(ILogger logger, ComponentState componentState, ComponentState parentComponentState)
35private static partial void RenderingComponent(ILogger logger, int componentId, Type componentType);
37public static void RenderingComponent(ILogger logger, ComponentState componentState)
46private static partial void DisposingComponent(ILogger logger, int componentId, Type componentType);
48public static void DisposingComponent(ILogger logger, ComponentState componentState)
57public static partial void HandlingEvent(ILogger logger, ulong eventId, string eventType);
59public static void HandlingEvent(ILogger logger, ulong eventHandlerId, EventArgs? eventArgs)
68public static partial void SkippingEventOnDisposedComponent(ILogger logger, int componentId, ulong eventId, string eventType);
70public static void SkippingEventOnDisposedComponent(ILogger logger, int componentId, ulong eventHandlerId, EventArgs? eventArgs)
Microsoft.AspNetCore.Components.Endpoints (6)
Microsoft.AspNetCore.Components.Server (111)
Circuits\CircuitHost.cs (44)
25private readonly ILogger _logger;
50ILogger logger)
874public static partial void InitializationStarted(ILogger logger);
877public static partial void InitializationSucceeded(ILogger logger);
880public static partial void InitializationFailed(ILogger logger, Exception exception);
883public static partial void DisposeStarted(ILogger logger, CircuitId circuitId);
886public static partial void DisposeSucceeded(ILogger logger, CircuitId circuitId);
889public static partial void DisposeFailed(ILogger logger, CircuitId circuitId, Exception exception);
892public static partial void CircuitOpened(ILogger logger, CircuitId circuitId);
895public static partial void ConnectionUp(ILogger logger, CircuitId circuitId, string connectionId);
898public static partial void ConnectionDown(ILogger logger, CircuitId circuitId, string connectionId);
901public static partial void CircuitClosed(ILogger logger, CircuitId circuitId);
904private static partial void CircuitHandlerFailed(ILogger logger, Type handlerType, string handlerMethod, string message, Exception exception);
907public static partial void UpdateRootComponentsStarted(ILogger logger);
910public static partial void UpdateRootComponentsSucceeded(ILogger logger);
913public static partial void UpdateRootComponentsFailed(ILogger logger, Exception exception);
915public static void CircuitHandlerFailed(ILogger logger, CircuitHandler handler, string handlerMethod, Exception exception)
926public static partial void CircuitUnhandledException(ILogger logger, CircuitId circuitId, Exception exception);
929public static partial void CircuitTransmittingClientError(ILogger logger, CircuitId circuitId);
932public static partial void CircuitTransmittedClientErrorSuccess(ILogger logger, CircuitId circuitId);
935public static partial void CircuitTransmitErrorFailed(ILogger logger, CircuitId circuitId, Exception exception);
938public static partial void UnhandledExceptionClientDisconnected(ILogger logger, CircuitId circuitId, Exception exception);
941public static partial void InvalidComponentTypeForUpdate(ILogger logger, string message);
944public static partial void DispatchEventFailedToParseEventData(ILogger logger, Exception ex);
947public static partial void DispatchEventFailedToDispatchEvent(ILogger logger, string eventHandlerId, Exception ex);
950private static partial void BeginInvokeDotNet(ILogger logger, string methodIdentifier, long dotNetObjectId, string callId);
953private static partial void BeginInvokeDotNetFailed(ILogger logger, string methodIdentifier, long dotNetObjectId, string callId, Exception exception);
956public static partial void EndInvokeDispatchException(ILogger logger, Exception ex);
959public static partial void EndInvokeJSFailed(ILogger logger, long asyncCall, string arguments);
962public static partial void EndInvokeJSSucceeded(ILogger logger, long asyncCall);
965public static partial void LocationChange(ILogger logger, string uri, CircuitId circuitId);
968public static partial void LocationChangeSucceeded(ILogger logger, string uri, CircuitId circuitId);
971public static partial void LocationChangeFailed(ILogger logger, string uri, CircuitId circuitId, Exception exception);
974public static partial void LocationChanging(ILogger logger, string uri, CircuitId circuitId);
977public static partial void OnRenderCompletedFailed(ILogger logger, long renderId, CircuitId circuitId, Exception e);
980public static partial void ReceiveByteArraySuccess(ILogger logger, long id);
983public static partial void ReceiveByteArrayException(ILogger logger, long id, Exception ex);
986public static partial void ReceiveJSDataChunkException(ILogger logger, long streamId, Exception ex);
989public static partial void SendDotNetStreamException(ILogger logger, long id, Exception ex);
992private static partial void BeginInvokeDotNetStatic(ILogger logger, string methodIdentifier, string assembly, string callId);
994public static void BeginInvokeDotNet(ILogger logger, string callId, string assemblyName, string methodIdentifier, long dotNetObjectId)
1007private static partial void BeginInvokeDotNetStaticFailed(ILogger logger, string methodIdentifier, string assembly, string callId, Exception exception);
1009public static void BeginInvokeDotNetFailed(ILogger logger, string callId, string assemblyName, string methodIdentifier, long dotNetObjectId, Exception exception)
1022public static partial void LocationChangeFailedInCircuit(ILogger logger, string uri, CircuitId circuitId, Exception exception);
Circuits\CircuitRegistry.cs (18)
42private readonly ILogger _logger;
367private static partial void UnhandledExceptionDisposingCircuitHost(ILogger logger, string message, Exception exception);
369public static void UnhandledExceptionDisposingCircuitHost(ILogger logger, Exception exception)
373private static partial void ExceptionDisposingTokenSource(ILogger logger, string message, Exception exception);
375public static void ExceptionDisposingTokenSource(ILogger logger, Exception exception)
379public static partial void CircuitConnectStarted(ILogger logger, CircuitId circuitHost);
382public static partial void FailedToFindCircuit(ILogger logger, CircuitId circuitHost);
385public static partial void ConnectingToActiveCircuit(ILogger logger, CircuitId circuitId, string connectionId);
388public static partial void ConnectingToDisconnectedCircuit(ILogger logger, CircuitId circuitId, string connectionId);
391public static partial void FailedToReconnectToCircuit(ILogger logger, CircuitId circuitId, Exception exception = null);
394public static partial void CircuitDisconnectStarted(ILogger logger, CircuitId circuitId, string connectionId);
397public static partial void CircuitNotActive(ILogger logger, CircuitId circuitId);
400public static partial void CircuitConnectedToDifferentConnection(ILogger logger, CircuitId circuitId, string connectionId);
403public static partial void CircuitMarkedDisconnected(ILogger logger, CircuitId circuitId);
406public static partial void CircuitEvicted(ILogger logger, CircuitId circuitId, EvictionReason evictionReason);
409public static partial void CircuitDisconnectedPermanently(ILogger logger, CircuitId circuitId);
412public static partial void CircuitExceptionHandlerFailed(ILogger logger, CircuitId circuitId, Exception exception);
415public static partial void ReconnectionSucceeded(ILogger logger, CircuitId circuitId);
Circuits\RemoteJSRuntime.cs (4)
199internal static partial void BeginInvokeJS(ILogger logger, long asyncHandle, string functionIdentifier);
202private static partial void InvokeStaticDotNetMethodException(ILogger logger, string assemblyName, string methodIdentifier, string? callbackId, Exception exception);
205private static partial void InvokeInstanceDotNetMethodException(ILogger logger, string methodIdentifier, long dotNetObjectReference, string? callbackId, Exception exception);
213internal static void InvokeDotNetMethodException(ILogger logger, in DotNetInvocationInfo invocationInfo, Exception exception)
Circuits\RemoteNavigationManager.cs (8)
183private static partial void RequestingNavigation(ILogger logger, string uri, bool forceLoad, bool replace);
185public static void RequestingNavigation(ILogger logger, string uri, NavigationOptions options)
189public static partial void ReceivedLocationChangedNotification(ILogger logger, string uri, bool isIntercepted);
192public static partial void NavigationCanceled(ILogger logger, string uri);
195public static partial void NavigationFailed(ILogger logger, string uri, Exception exception);
198public static partial void RefreshFailed(ILogger logger, Exception exception);
201public static partial void NavigationCompleted(ILogger logger, string uri);
204public static partial void NavigationStoppedSessionEnded(ILogger logger, string uri);
Circuits\RemoteRenderer.cs (14)
26private readonly ILogger _logger;
46ILogger logger,
375private static partial void UnhandledExceptionRenderingComponent(ILogger logger, string message, Exception exception);
377public static void UnhandledExceptionRenderingComponent(ILogger logger, Exception exception)
381public static partial void BeginUpdateDisplayAsync(ILogger logger, long batchId, int dataLength, string connectionId);
384public static partial void BufferingRenderDisconnectedClient(ILogger logger, string connectionId);
387private static partial void SendBatchDataFailed(ILogger logger, string message, Exception exception);
389public static void SendBatchDataFailed(ILogger logger, Exception exception)
393private static partial void CompletingBatchWithError(ILogger logger, long batchId, string errorMessage, double elapsedMilliseconds);
395public static void CompletingBatchWithError(ILogger logger, long batchId, string errorMessage, TimeSpan elapsedTime)
399private static partial void CompletingBatchWithoutError(ILogger logger, long batchId, double elapsedMilliseconds);
401public static void CompletingBatchWithoutError(ILogger logger, long batchId, TimeSpan elapsedTime)
405public static partial void ReceivedDuplicateBatchAck(ILogger logger, long incomingBatchId);
408public static partial void FullUnacknowledgedRenderBatchesQueue(ILogger logger);
ComponentHub.cs (11)
45private readonly ILogger _logger;
375public static partial void ReceivedConfirmationForBatch(ILogger logger, long batchId);
378public static partial void CircuitAlreadyInitialized(ILogger logger, CircuitId circuitId);
381public static partial void CircuitHostNotInitialized(ILogger logger, [CallerMemberName] string callSite = "");
384public static partial void CircuitHostShutdown(ILogger logger, [CallerMemberName] string callSite = "");
387public static partial void InvalidInputData(ILogger logger, [CallerMemberName] string callSite = "");
390public static partial void CircuitInitializationFailed(ILogger logger, Exception exception);
393private static partial void CreatedCircuitCore(ILogger logger, CircuitId circuitId, string circuitIdSecret, string connectionId);
395public static void CreatedCircuit(ILogger logger, CircuitId circuitId, string circuitSecret, string connectionId)
407private static partial void InvalidCircuitIdCore(ILogger logger, string circuitIdSecret);
409public static void InvalidCircuitId(ILogger logger, string circuitSecret)
Microsoft.AspNetCore.Components.Server.Tests (2)
Microsoft.AspNetCore.Components.WebAssembly (5)
Microsoft.AspNetCore.Components.WebAssembly.Server (2)
Microsoft.AspNetCore.Components.WebView (3)
Microsoft.AspNetCore.Components.WebView.Maui (26)
src\BlazorWebView\src\SharedSource\Log.cs (19)
9 public static partial void NavigatingToUri(this ILogger logger, Uri uri);
12 public static partial void FailedToCreateWebView2Environment(this ILogger logger);
15 public static partial void StartingWebView2(this ILogger logger);
18 public static partial void StartedWebView2(this ILogger logger);
21 public static partial void HandlingWebRequest(this ILogger logger, string requestUri);
24 public static partial void ResponseContentBeingSent(this ILogger logger, string requestUri, int statusCode);
27 public static partial void ReponseContentNotFound(this ILogger logger, string requestUri);
30 public static partial void NavigationEvent(this ILogger logger, Uri uri, UrlLoadingStrategy urlLoadingStrategy);
33 public static partial void LaunchExternalBrowser(this ILogger logger, Uri uri);
36 public static partial void CallingBlazorStart(this ILogger logger);
39 public static partial void CreatingFileProvider(this ILogger logger, string contentRootDir, string hostPageRelativePath);
42 public static partial void AddingRootComponent(this ILogger logger, string componentTypeName, string componentSelector, int parameterCount);
45 public static partial void StartingInitialNavigation(this ILogger logger, string startPath);
48 public static partial void CreatingAndroidWebkitWebView(this ILogger logger);
51 public static partial void CreatedAndroidWebkitWebView(this ILogger logger);
54 public static partial void RunningBlazorStartupScripts(this ILogger logger);
57 public static partial void BlazorStartupScriptsFinished(this ILogger logger);
60 public static partial void CreatingWebKitWKWebView(this ILogger logger);
63 public static partial void CreatedWebKitWKWebView(this ILogger logger);
Microsoft.AspNetCore.Components.WebView.WindowsForms (22)
Microsoft.AspNetCore.Components.WebView.Wpf (22)
src\BlazorWebView\src\SharedSource\Log.cs (19)
9 public static partial void NavigatingToUri(this ILogger logger, Uri uri);
12 public static partial void FailedToCreateWebView2Environment(this ILogger logger);
15 public static partial void StartingWebView2(this ILogger logger);
18 public static partial void StartedWebView2(this ILogger logger);
21 public static partial void HandlingWebRequest(this ILogger logger, string requestUri);
24 public static partial void ResponseContentBeingSent(this ILogger logger, string requestUri, int statusCode);
27 public static partial void ReponseContentNotFound(this ILogger logger, string requestUri);
30 public static partial void NavigationEvent(this ILogger logger, Uri uri, UrlLoadingStrategy urlLoadingStrategy);
33 public static partial void LaunchExternalBrowser(this ILogger logger, Uri uri);
36 public static partial void CallingBlazorStart(this ILogger logger);
39 public static partial void CreatingFileProvider(this ILogger logger, string contentRootDir, string hostPageRelativePath);
42 public static partial void AddingRootComponent(this ILogger logger, string componentTypeName, string componentSelector, int parameterCount);
45 public static partial void StartingInitialNavigation(this ILogger logger, string startPath);
48 public static partial void CreatingAndroidWebkitWebView(this ILogger logger);
51 public static partial void CreatedAndroidWebkitWebView(this ILogger logger);
54 public static partial void RunningBlazorStartupScripts(this ILogger logger);
57 public static partial void BlazorStartupScriptsFinished(this ILogger logger);
60 public static partial void CreatingWebKitWKWebView(this ILogger logger);
63 public static partial void CreatedWebKitWKWebView(this ILogger logger);
Microsoft.AspNetCore.ConcurrencyLimiter (5)
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (1)
Microsoft.AspNetCore.CookiePolicy (12)
Microsoft.AspNetCore.Cors (13)
Microsoft.AspNetCore.DataProtection (107)
LoggingExtensions.cs (83)
13/// Helpful extension methods on <see cref="ILogger"/>.
22public static bool IsDebugLevelEnabled([NotNullWhen(true)] this ILogger? logger)
32public static bool IsTraceLevelEnabled([NotNullWhen(true)] this ILogger? logger)
38private static bool IsLogLevelEnabledCore([NotNullWhen(true)] ILogger? logger, LogLevel level)
44public static partial void UsingFallbackKeyWithExpirationAsDefaultKey(this ILogger logger, Guid keyId, DateTimeOffset expirationDate);
47public static partial void UsingKeyAsDefaultKey(this ILogger logger, Guid keyId);
50public static partial void OpeningCNGAlgorithmFromProviderWithHMAC(this ILogger logger, string hashAlgorithm, string? hashAlgorithmProvider);
53public static partial void OpeningCNGAlgorithmFromProviderWithChainingModeCBC(this ILogger logger, string encryptionAlgorithm, string? encryptionAlgorithmProvider);
56public static partial void PerformingUnprotectOperationToKeyWithPurposes(this ILogger logger, Guid keyId, string purposes);
59public static partial void KeyWasNotFoundInTheKeyRingUnprotectOperationCannotProceed(this ILogger logger, Guid keyId);
62public static partial void KeyWasRevokedCallerRequestedUnprotectOperationProceedRegardless(this ILogger logger, Guid keyId);
65public static partial void KeyWasRevokedUnprotectOperationCannotProceed(this ILogger logger, Guid keyId);
68public static partial void OpeningCNGAlgorithmFromProviderWithChainingModeGCM(this ILogger logger, string encryptionAlgorithm, string? encryptionAlgorithmProvider);
71public static partial void UsingManagedKeyedHashAlgorithm(this ILogger logger, string fullName);
74public static partial void UsingManagedSymmetricAlgorithm(this ILogger logger, string fullName);
77public static partial void KeyIsIneligibleToBeTheDefaultKeyBecauseItsMethodFailed(this ILogger logger, Guid keyId, string methodName, Exception exception);
80public static partial void ConsideringKeyWithExpirationDateAsDefaultKey(this ILogger logger, Guid keyId, DateTimeOffset expirationDate);
83public static partial void KeyIsNoLongerUnderConsiderationAsDefault(this ILogger logger, Guid keyId);
86public static partial void UnknownElementWithNameFoundInKeyringSkipping(this ILogger logger, XName name);
89public static partial void MarkedKeyAsRevokedInTheKeyring(this ILogger logger, Guid keyId);
92public static partial void TriedToProcessRevocationOfKeyButNoSuchKeyWasFound(this ILogger logger, Guid keyId);
95public static partial void FoundKey(this ILogger logger, Guid keyId);
98public static partial void FoundRevocationOfAllKeysCreatedPriorTo(this ILogger logger, DateTimeOffset revocationDate);
101public static partial void FoundRevocationOfKey(this ILogger logger, Guid keyId);
104public static partial void ExceptionWhileProcessingRevocationElement(this ILogger logger, XElement revocationElement, Exception exception);
107public static partial void RevokingAllKeysAsOfForReason(this ILogger logger, DateTimeOffset revocationDate, string? reason);
110public static partial void KeyCacheExpirationTokenTriggeredByOperation(this ILogger logger, string operationName);
113public static partial void ExceptionWhileProcessingKeyElement(this ILogger logger, XElement element, Exception exception);
116public static partial void AnExceptionOccurredWhileProcessingElementDebug(this ILogger logger, XElement element, Exception exception);
119public static partial void EncryptingToWindowsDPAPIForCurrentUserAccount(this ILogger logger, string name);
122public static partial void AnErrorOccurredWhileEncryptingToX509CertificateWithThumbprint(this ILogger logger, string thumbprint, Exception exception);
125public static partial void EncryptingToX509CertificateWithThumbprint(this ILogger logger, string thumbprint);
128public static partial void ExceptionWhileTryingToResolveCertificateWithThumbprint(this ILogger logger, string thumbprint, Exception exception);
131public static partial void PerformingProtectOperationToKeyWithPurposes(this ILogger logger, Guid keyId, string purposes);
134public static partial void DescriptorDeserializerTypeForKeyIs(this ILogger logger, Guid keyId, string assemblyQualifiedName);
137public static partial void KeyEscrowSinkFoundWritingKeyToEscrow(this ILogger logger, Guid keyId);
140public static partial void NoKeyEscrowSinkFoundNotWritingKeyToEscrow(this ILogger logger, Guid keyId);
143public static partial void NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm(this ILogger logger, Guid keyId);
146public static partial void RevokingKeyForReason(this ILogger logger, Guid keyId, DateTimeOffset revocationDate, string? reason);
149public static partial void ReadingDataFromFile(this ILogger logger, string fullPath);
152public static partial void NameIsNotSafeFileName(this ILogger logger, string friendlyName, string newFriendlyName);
155public static partial void WritingDataToFile(this ILogger logger, string fileName);
158public static partial void ReadingDataFromRegistryKeyValue(this ILogger logger, RegistryKey registryKeyName, string value);
161public static partial void NameIsNotSafeRegistryValueName(this ILogger logger, string friendlyName, string newFriendlyName);
164public static partial void DecryptingSecretElementUsingWindowsDPAPING(this ILogger logger, string? descriptorRule);
167public static partial void EncryptingToWindowsDPAPINGUsingProtectionDescriptorRule(this ILogger logger, string descriptorRule);
170public static partial void ExceptionOccurredTryingToDecryptElement(this ILogger logger, Exception exception);
173public static partial void EncryptingUsingNullEncryptor(this ILogger logger);
176public static partial void UsingEphemeralDataProtectionProvider(this ILogger logger);
179public static partial void ExistingCachedKeyRingIsExpired(this ILogger logger);
182public static partial void ErrorOccurredWhileRefreshingKeyRing(this ILogger logger, Exception exception);
185public static partial void ErrorOccurredWhileReadingKeyRing(this ILogger logger, Exception exception);
188public static partial void KeyRingDoesNotContainValidDefaultKey(this ILogger logger);
191public static partial void UsingInmemoryRepository(this ILogger logger);
194public static partial void DecryptingSecretElementUsingWindowsDPAPI(this ILogger logger);
197public static partial void DefaultKeyExpirationImminentAndRepository(this ILogger logger);
200public static partial void RepositoryContainsNoViableDefaultKey(this ILogger logger);
203public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPI(this ILogger logger, Exception exception);
206public static partial void EncryptingToWindowsDPAPIForLocalMachineAccount(this ILogger logger);
209public static partial void ErrorOccurredWhileEncryptingToWindowsDPAPING(this ILogger logger, Exception exception);
212public static partial void PolicyResolutionStatesThatANewKeyShouldBeAddedToTheKeyRing(this ILogger logger);
215public static partial void CreatingKey(this ILogger logger, Guid keyId, DateTimeOffset creationDate, DateTimeOffset activationDate, DateTimeOffset expirationDate);
218public static partial void UsingEphemeralKeyRepository(this ILogger logger);
221public static partial void UsingRegistryAsKeyRepositoryWithDPAPI(this ILogger logger, string name);
224public static partial void UsingProfileAsKeyRepository(this ILogger logger, string fullName);
227public static partial void UsingProfileAsKeyRepositoryWithDPAPI(this ILogger logger, string fullName);
230public static partial void UsingAzureAsKeyRepository(this ILogger logger, string fullName);
233public static partial void KeyRingWasLoadedOnStartup(this ILogger logger, Guid keyId);
236public static partial void KeyRingFailedToLoadOnStartup(this ILogger logger, Exception innerException);
239public static partial void UsingEphemeralFileSystemLocationInContainer(this ILogger logger, string path);
242public static partial void IgnoringReadOnlyConfigurationForNonDefaultOptions(this ILogger logger, string propertyName, string? optionsName);
245public static partial void UsingReadOnlyKeyConfiguration(this ILogger logger, string path);
248public static partial void NotUsingReadOnlyKeyConfigurationBecauseOfRepository(this ILogger logger);
251public static partial void NotUsingReadOnlyKeyConfigurationBecauseOfEncryptor(this ILogger logger);
254public static partial void KeyRingDefaultKeyIsRevoked(this ILogger logger, Guid keyId);
257public static partial void RetryingMethodOfKeyAfterFailure(this ILogger logger, Guid keyId, string methodName, Exception exception);
260public static partial void DeletingFile(this ILogger logger, string fileName);
263public static partial void FailedToDeleteFile(this ILogger logger, string fileName, Exception exception);
266public static partial void RemovingDataFromRegistryKeyValue(this ILogger logger, RegistryKey registryKeyName, string value);
269public static partial void FailedToRemoveDataFromRegistryKeyValue(this ILogger logger, RegistryKey registryKeyName, string valueName, Exception exception);
272public static partial void KeyRevokedMultipleTimes(this ILogger logger, Guid keyId);
275public static partial void DateBasedRevocationSuperseded(this ILogger logger, DateTimeOffset olderDate, DateTimeOffset newerDate);
278public static partial void DeletingKey(this ILogger logger, Guid keyId);
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (3)
Microsoft.AspNetCore.DataProtection.Tests (2)
Microsoft.AspNetCore.Diagnostics (12)
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (20)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.FunctionalTests (5)
Microsoft.AspNetCore.Grpc.JsonTranscoding (20)
Internal\GrpcServerLog.cs (11)
12public static partial void UnsupportedRequestContentType(ILogger logger, string? contentType);
15public static partial void ErrorExecutingServiceMethod(ILogger logger, string serviceMethod, Exception ex);
18public static partial void RpcConnectionError(ILogger logger, StatusCode statusCode, string detail, Exception? debugException);
21public static partial void ReadingMessage(ILogger logger);
24public static partial void DeserializingMessage(ILogger logger, Type messageType);
27public static partial void ReceivedMessage(ILogger logger);
30public static partial void ErrorReadingMessage(ILogger logger, Exception ex);
33public static partial void SendingMessage(ILogger logger);
36public static partial void MessageSent(ILogger logger);
39public static partial void ErrorSendingMessage(ILogger logger, Exception ex);
42public static partial void SerializedMessage(ILogger logger, Type messageType);
Microsoft.AspNetCore.Grpc.Swagger.Tests (3)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.HostFiltering (8)
Microsoft.AspNetCore.Hosting (23)
Microsoft.AspNetCore.Hosting.FunctionalTests (3)
Microsoft.AspNetCore.Hosting.Tests (8)
Microsoft.AspNetCore.Http (3)
Microsoft.AspNetCore.Http.Connections (67)
Internal\HttpConnectionContext.cs (14)
44private readonly ILogger _logger;
68public HttpConnectionContext(string connectionId, string connectionToken, ILogger logger, MetricsContext metricsContext,
410ILogger dispatcherLogger)
445ILogger dispatcherLogger)
510private void FailActivationUnsynchronized(HttpContext nonClonedContext, ILogger dispatcherLogger)
767public static partial void DisposingConnection(ILogger logger, string transportConnectionId);
770public static partial void WaitingForApplication(ILogger logger);
773public static partial void ApplicationComplete(ILogger logger);
776public static partial void WaitingForTransport(ILogger logger, HttpTransportType transportType);
779public static partial void TransportComplete(ILogger logger, HttpTransportType transportType);
782public static partial void ShuttingDownTransportAndApplication(ILogger logger, HttpTransportType transportType);
785public static partial void WaitingForTransportAndApplication(ILogger logger, HttpTransportType transportType);
788public static partial void TransportAndApplicationComplete(ILogger logger, HttpTransportType transportType);
791public static partial void TransportSendTimeout(ILogger logger, TimeSpan timeout, string transportConnectionId);
Internal\HttpConnectionDispatcher.Log.cs (19)
13public static partial void ConnectionDisposed(ILogger logger, string transportConnectionId);
16public static partial void ConnectionAlreadyActive(ILogger logger, string transportConnectionId, string requestId);
19public static partial void PollCanceled(ILogger logger, string transportConnectionId, string requestId);
22public static partial void EstablishedConnection(ILogger logger);
25public static partial void ResumingConnection(ILogger logger);
28public static partial void ReceivedBytes(ILogger logger, long count);
31public static partial void TransportNotSupported(ILogger logger, HttpTransportType transportType);
34public static partial void CannotChangeTransport(ILogger logger, HttpTransportType transportType, HttpTransportType requestedTransport);
37public static partial void PostNotAllowedForWebSockets(ILogger logger);
40public static partial void NegotiationRequest(ILogger logger);
43public static partial void ReceivedDeleteRequestForUnsupportedTransport(ILogger logger, HttpTransportType transportType);
46public static partial void TerminatingConnection(ILogger logger);
49public static partial void ConnectionDisposedWhileWriteInProgress(ILogger logger, string transportConnectionId, Exception ex);
52public static partial void FailedToReadHttpRequestBody(ILogger logger, string transportConnectionId, Exception ex);
55public static partial void NegotiateProtocolVersionMismatch(ILogger logger, int clientProtocolVersion);
58public static partial void InvalidNegotiateProtocolVersion(ILogger logger, string queryStringVersionValue);
61private static partial void UserNameChangedInternal(ILogger logger, string previousUserName, string currentUserName);
63public static void UserNameChanged(ILogger logger, string? previousUserName, string? currentUserName)
69public static partial void NotifyOnReconnectError(ILogger logger, Exception ex);
Internal\Transports\WebSocketsServerTransport.Log.cs (15)
14public static partial void SocketOpened(ILogger logger, string? subProtocol);
17public static partial void SocketClosed(ILogger logger);
20public static partial void ClientClosed(ILogger logger, WebSocketCloseStatus? status, string description);
23public static partial void WaitingForSend(ILogger logger);
26public static partial void FailedSending(ILogger logger);
29public static partial void FinishedSending(ILogger logger);
32public static partial void WaitingForClose(ILogger logger);
35public static partial void CloseTimedOut(ILogger logger);
38public static partial void MessageReceived(ILogger logger, WebSocketMessageType messageType, int size, bool endOfMessage);
41public static partial void MessageToApplication(ILogger logger, int size);
44public static partial void SendPayload(ILogger logger, long size);
47public static partial void ErrorWritingFrame(ILogger logger, Exception ex);
50public static partial void ClosedPrematurely(ILogger logger, Exception ex);
53public static partial void ClosingWebSocketFailed(ILogger logger, Exception ex);
56public static partial void SendErrored(ILogger logger, Exception exception);
Microsoft.AspNetCore.Http.Connections.Client (88)
HttpConnection.Log.cs (25)
16public static partial void Starting(ILogger logger);
19public static partial void SkippingStart(ILogger logger);
22public static partial void Started(ILogger logger);
25public static partial void DisposingHttpConnection(ILogger logger);
28public static partial void SkippingDispose(ILogger logger);
31public static partial void Disposed(ILogger logger);
33public static void StartingTransport(ILogger logger, HttpTransportType transportType, Uri url)
42private static partial void StartingTransport(ILogger logger, string transport, Uri url);
45public static partial void EstablishingConnection(ILogger logger, Uri url);
48public static partial void ConnectionEstablished(ILogger logger, string connectionId);
51public static partial void ErrorWithNegotiation(ILogger logger, Uri url, Exception exception);
54public static partial void ErrorStartingTransport(ILogger logger, HttpTransportType transport, Exception exception);
57public static partial void TransportNotSupported(ILogger logger, string transportName);
59public static void TransportDoesNotSupportTransferFormat(ILogger logger, HttpTransportType transport, TransferFormat transferFormat)
70private static partial void TransportDoesNotSupportTransferFormat(ILogger logger, string transportName, string transferFormat);
72public static void TransportDisabledByClient(ILogger logger, HttpTransportType transport)
81public static partial void TransportDisabledByClient(ILogger logger, string transportName);
83public static void TransportFailed(ILogger logger, HttpTransportType transport, Exception ex)
92public static partial void TransportFailed(ILogger logger, string transportName, Exception ex);
95public static partial void WebSocketsNotSupportedByOperatingSystem(ILogger logger);
98public static partial void TransportThrewExceptionOnStop(ILogger logger, Exception ex);
101public static partial void TransportStarted(ILogger logger, HttpTransportType transport);
104public static partial void ServerSentEventsNotSupportedByBrowser(ILogger logger);
107public static partial void CookiesNotSupported(ILogger logger);
110public static partial void RetryAccessToken(ILogger logger, HttpStatusCode statusCode);
Internal\LongPollingTransport.Log.cs (15)
17public static partial void StartTransport(ILogger logger, TransferFormat transferFormat);
20public static partial void TransportStopped(ILogger logger, Exception? exception);
23public static partial void StartReceive(ILogger logger);
26public static partial void TransportStopping(ILogger logger);
29public static partial void ReceiveCanceled(ILogger logger);
32public static partial void ReceiveStopped(ILogger logger);
35public static partial void ClosingConnection(ILogger logger);
38public static partial void ReceivedMessages(ILogger logger);
41public static partial void ErrorPolling(ILogger logger, Uri pollUrl, Exception exception);
44public static void PollResponseReceived(ILogger logger, HttpResponseMessage response)
54private static partial void PollResponseReceived(ILogger logger, int statusCode, long contentLength);
57public static partial void SendingDeleteRequest(ILogger logger, Uri pollUrl);
60public static partial void DeleteRequestAccepted(ILogger logger, Uri pollUrl);
63public static partial void ErrorSendingDeleteRequest(ILogger logger, Uri pollUrl, Exception ex);
66public static partial void ConnectionAlreadyClosedSendingDeleteRequest(ILogger logger, Uri pollUrl);
Internal\WebSocketsTransport.Log.cs (22)
16public static partial void StartTransport(ILogger logger, TransferFormat transferFormat, Uri webSocketUrl);
19public static partial void TransportStopped(ILogger logger, Exception? exception);
22public static partial void StartReceive(ILogger logger);
25public static partial void TransportStopping(ILogger logger);
28public static partial void MessageToApp(ILogger logger, int count);
31public static partial void ReceiveCanceled(ILogger logger);
34public static partial void ReceiveStopped(ILogger logger);
37public static partial void SendStarted(ILogger logger);
40public static partial void SendCanceled(ILogger logger);
43public static partial void SendStopped(ILogger logger);
46public static partial void WebSocketClosed(ILogger logger, WebSocketCloseStatus? closeStatus);
49public static partial void MessageReceived(ILogger logger, WebSocketMessageType messageType, int count, bool endOfMessage);
52public static partial void ReceivedFromApp(ILogger logger, long count);
55public static partial void SendMessageCanceled(ILogger logger);
58public static partial void ErrorSendingMessage(ILogger logger, Exception exception);
61public static partial void ClosingWebSocket(ILogger logger);
64public static partial void ClosingWebSocketFailed(ILogger logger, Exception exception);
67public static partial void CancelMessage(ILogger logger);
70public static partial void StartedTransport(ILogger logger);
74public static partial void HeadersNotSupported(ILogger logger);
77public static partial void ReceiveErrored(ILogger logger, Exception exception);
80public static partial void SendErrored(ILogger logger, Exception exception);
Microsoft.AspNetCore.Http.Connections.Tests (1)
Microsoft.AspNetCore.Http.Extensions (16)
RequestDelegateFactory.cs (12)
2648private static partial void RequestBodyIOException(ILogger logger, IOException exception);
2662private static partial void InvalidJsonRequestBody(ILogger logger, string parameterType, string parameterName, Exception exception);
2676private static partial void ParameterBindingFailed(ILogger logger, string parameterType, string parameterName, string sourceValue);
2690private static partial void RequiredParameterNotProvided(ILogger logger, string parameterType, string parameterName, string source);
2704private static partial void ImplicitBodyNotProvided(ILogger logger, string parameterName);
2718private static partial void UnexpectedJsonContentType(ILogger logger, string contentType);
2732private static partial void UnexpectedNonFormContentType(ILogger logger, string contentType);
2746private static partial void InvalidFormRequestBody(ILogger logger, string parameterType, string parameterName, Exception exception);
2760private static partial void InvalidAntiforgeryToken(ILogger logger, string parameterType, string parameterName, Exception exception);
2774private static partial void FormDataMappingFailed(ILogger logger, string parameterType, string parameterName, Exception exception);
2788private static partial void UnexpectedRequestWithoutBody(ILogger logger, string parameterType, string parameterName);
2790private static ILogger GetLogger(HttpContext httpContext)
Microsoft.AspNetCore.Http.Results (67)
Microsoft.AspNetCore.HttpLogging (23)
HttpLoggingExtensions.cs (9)
10public static void RequestLog(this ILogger logger, HttpLog requestLog) => logger.Log(
16public static void ResponseLog(this ILogger logger, HttpLog responseLog) => logger.Log(
24public static partial void RequestBody(this ILogger logger, string body, string status);
27public static partial void ResponseBody(this ILogger logger, string body);
30public static partial void DecodeFailure(this ILogger logger, Exception ex);
33public static partial void UnrecognizedMediaType(this ILogger logger, string name);
36public static partial void NoMediaType(this ILogger logger, string name);
39public static partial void Duration(this ILogger logger, double duration);
41public static void RequestResponseLog(this ILogger logger, HttpLog log) => logger.Log(
Microsoft.AspNetCore.HttpOverrides (5)
Microsoft.AspNetCore.HttpsPolicy (9)
Microsoft.AspNetCore.Identity (15)
Microsoft.AspNetCore.Identity.Specification.Tests (1)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.InternalTesting (9)
Microsoft.AspNetCore.InternalTesting.Tests (15)
Microsoft.AspNetCore.Localization (3)
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (232)
Infrastructure\ControllerActionInvoker.cs (11)
31ILogger logger,
417var logger = invoker._logger;
587public static void ExecutingControllerFactory(ILogger logger, ControllerContext context)
600private static partial void ExecutingControllerFactory(ILogger logger, string controller, string? assemblyName);
602public static void ExecutedControllerFactory(ILogger logger, ControllerContext context)
615private static partial void ExecutedControllerFactory(ILogger logger, string controller, string? assemblyName);
617public static void ActionMethodExecuting(ILogger logger, ControllerContext context, object?[]? arguments)
640private static partial void ActionMethodExecuting(ILogger logger, string? actionName, ModelValidationState validationState);
643private static partial void ActionMethodExecutingWithArguments(ILogger logger, string? actionName, string?[] arguments);
645public static void ActionMethodExecuted(ILogger logger, ControllerContext context, IActionResult result, TimeSpan timeSpan)
655private static partial void ActionMethodExecuted(ILogger logger, string? actionName, string? actionResult, double elapsedMilliseconds);
Infrastructure\ResourceInvoker.Log.cs (13)
20public static void ExecutingAction(ILogger logger, ActionDescriptor action)
68private static partial void ActionExecuting(ILogger logger, string routeData, string? actionName);
71private static partial void ControllerActionExecuting(ILogger logger, string routeData, MethodInfo methodInfo, string controller, string? assemblyName);
74private static partial void PageExecuting(ILogger logger, string routeData, string? pageName);
77public static partial void AuthorizationFailure(ILogger logger, IFilterMetadata authorizationFilter);
80public static partial void ResourceFilterShortCircuited(ILogger logger, IFilterMetadata resourceFilter);
83private static partial void BeforeExecutingActionResult(ILogger logger, Type actionResult);
85public static void BeforeExecutingActionResult(ILogger logger, IActionResult actionResult)
91private static partial void AfterExecutingActionResult(ILogger logger, Type actionResult);
93public static void AfterExecutingActionResult(ILogger logger, IActionResult actionResult)
98public static void ExecutedAction(ILogger logger, ActionDescriptor action, TimeSpan timeSpan)
115private static partial void PageExecuted(ILogger logger, string? pageName, double elapsedMilliseconds);
118private static partial void ActionExecuted(ILogger logger, string? actionName, double elapsedMilliseconds);
ModelBinding\Binders\BodyModelBinder.cs (8)
24private readonly ILogger _logger;
202public static void InputFormatterSelected(ILogger logger, IInputFormatter inputFormatter, InputFormatterContext formatterContext)
212private static partial void InputFormatterSelected(ILogger logger, IInputFormatter inputFormatter, string? contentType);
214public static void InputFormatterRejected(ILogger logger, IInputFormatter inputFormatter, InputFormatterContext formatterContext)
224private static partial void InputFormatterRejected(ILogger logger, IInputFormatter inputFormatter, string? contentType);
226public static void NoInputFormatterSelected(ILogger logger, InputFormatterContext formatterContext)
242private static partial void NoInputFormatterSelected(ILogger logger, string? contentType);
245private static partial void RemoveFromBodyAttribute(ILogger logger, string modelName, string? modelType);
ModelBinding\ParameterBinder.Log.cs (15)
16ILogger logger,
56private static partial void AttemptingToBindParameter(ILogger logger, string? parameterName, Type modelType);
59private static partial void AttemptingToBindProperty(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType);
62ILogger logger,
102private static partial void DoneAttemptingToBindParameter(ILogger logger, string? parameterName, Type modelType);
105private static partial void DoneAttemptingToBindProperty(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType);
108ILogger logger,
149private static partial void AttemptingToValidateParameter(ILogger logger, string? parameterName, Type modelType);
152private static partial void AttemptingToValidateProperty(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType);
155ILogger logger,
199private static partial void DoneAttemptingToValidateParameter(ILogger logger, string? parameterName, Type modelType);
202private static partial void DoneAttemptingToValidateProperty(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType);
205ILogger logger,
248private static partial void ParameterBinderRequestPredicateShortCircuitOfProperty(ILogger logger, Type? propertyContainerType, string? propertyName);
253private static partial void ParameterBinderRequestPredicateShortCircuitOfParameter(ILogger logger, string? parameterName);
MvcCoreLoggerExtensions.cs (29)
20public static IDisposable? ActionScope(this ILogger logger, ActionDescriptor action)
25public static void AuthorizationFiltersExecutionPlan(this ILogger logger, IEnumerable<IFilterMetadata> filters)
36public static void ResourceFiltersExecutionPlan(this ILogger logger, IEnumerable<IFilterMetadata> filters)
47public static void ActionFiltersExecutionPlan(this ILogger logger, IEnumerable<IFilterMetadata> filters)
58public static void ExceptionFiltersExecutionPlan(this ILogger logger, IEnumerable<IFilterMetadata> filters)
69public static void ResultFiltersExecutionPlan(this ILogger logger, IEnumerable<IFilterMetadata> filters)
81public static partial void BeforeExecutingMethodOnFilter(this ILogger logger, string filterType, string method, IFilterMetadata filter);
84public static partial void AfterExecutingMethodOnFilter(this ILogger logger, string filterType, string method, IFilterMetadata filter);
86public static void NoActionsMatched(this ILogger logger, IDictionary<string, object?> routeValueDictionary)
102private static partial void NoActionsMatched(ILogger logger, string[]? routeValues);
105public static partial void ResultFilterShortCircuited(this ILogger logger, IFilterMetadata resultFilter);
108public static partial void ExceptionFilterShortCircuited(this ILogger logger, IFilterMetadata exceptionFilter);
111public static partial void ActionFilterShortCircuited(this ILogger logger, IFilterMetadata actionFilter);
113public static void FoundNoValueInRequest(this ILogger logger, ModelBindingContext bindingContext)
150private static partial void FoundNoValueForPropertyInRequest(ILogger logger, string modelName, Type? propertyContainerType, string? modelFieldName, Type modelType);
155private static partial void FoundNoValueForParameterInRequest(ILogger logger, string modelName, string? modelFieldName, Type modelType);
158private static partial void FoundNoValueInRequest(ILogger logger, string modelName, Type modelType);
160public static void CannotBindToFilesCollectionDueToUnsupportedContentType(this ILogger logger, ModelBindingContext bindingContext)
166private static partial void CannotBindToFilesCollectionDueToUnsupportedContentType(ILogger logger, string modelName, Type modelType);
168public static void AttemptingToBindModel(this ILogger logger, ModelBindingContext bindingContext)
200private static partial void AttemptingToBindParameterModel(ILogger logger, string? parameterName, Type modelType, string modelName);
203private static partial void AttemptingToBindPropertyModel(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType, string modelName);
206private static partial void AttemptingToBindModel(ILogger logger, Type modelType, string modelName);
208public static void DoneAttemptingToBindModel(this ILogger logger, ModelBindingContext bindingContext)
238private static partial void DoneAttemptingToBindPropertyModel(ILogger logger, Type? propertyContainerType, string? propertyName, Type modelType);
241private static partial void DoneAttemptingToBindModel(ILogger logger, Type modelType, string modelName);
244private static partial void DoneAttemptingToBindParameterModel(ILogger logger, string? parameterName, Type modelType);
247ILogger logger,
261private static partial void LogFilterExecutionPlan(ILogger logger, string filterType, string[] filters);
Microsoft.AspNetCore.Mvc.Core.Test (16)
Microsoft.AspNetCore.Mvc.Cors (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (8)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (15)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
Microsoft.AspNetCore.Mvc.Razor (12)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (18)
RuntimeViewCompiler.cs (12)
32private readonly ILogger _logger;
40ILogger logger)
412public static partial void GeneratedCodeToAssemblyCompilationStart(ILogger logger, string filePath);
415private static partial void GeneratedCodeToAssemblyCompilationEnd(ILogger logger, string filePath, double elapsedMilliseconds);
417public static void GeneratedCodeToAssemblyCompilationEnd(ILogger logger, string filePath, long startTimestamp)
429public static partial void ViewCompilerLocatedCompiledView(ILogger logger, string viewName);
432public static partial void ViewCompilerNoCompiledViewsFound(ILogger logger);
435public static partial void ViewCompilerLocatedCompiledViewForPath(ILogger logger, string path);
438public static partial void ViewCompilerRecompilingCompiledView(ILogger logger, string path);
441public static partial void ViewCompilerCouldNotFindFileAtPath(ILogger logger, string path);
444public static partial void ViewCompilerFoundFileToCompile(ILogger logger, string path);
447public static partial void ViewCompilerInvalidatingCompiledFile(ILogger logger, string path);
Microsoft.AspNetCore.Mvc.RazorPages (26)
PageLoggerExtensions.cs (21)
20private static partial void ExecutingPageModelFactory(this ILogger logger, string page, string assemblyName);
22public static void ExecutingPageModelFactory(this ILogger logger, PageContext context)
35private static partial void ExecutedPageModelFactory(this ILogger logger, string page, string assemblyName);
37public static void ExecutedPageModelFactory(this ILogger logger, PageContext context)
50private static partial void ExecutingPageFactory(this ILogger logger, string page, string assemblyName);
52public static void ExecutingPageFactory(this ILogger logger, PageContext context)
65private static partial void ExecutedPageFactory(this ILogger logger, string page, string assemblyName);
67public static void ExecutedPageFactory(this ILogger logger, PageContext context)
80private static partial void ExecutingHandlerMethod(this ILogger logger, string handlerName, ModelValidationState validationState);
83private static partial void ExecutingHandlerMethodWithArguments(this ILogger logger, string handlerName, string[] arguments);
85public static void ExecutingHandlerMethod(this ILogger logger, PageContext context, HandlerMethodDescriptor handler, object?[]? arguments)
109public static partial void ExecutingImplicitHandlerMethod(this ILogger logger, ModelValidationState validationState);
111public static void ExecutingImplicitHandlerMethod(this ILogger logger, PageContext context)
122public static partial void ExecutedHandlerMethod(this ILogger logger, string handlerName, string? actionResult);
124public static void ExecutedHandlerMethod(this ILogger logger, HandlerMethodDescriptor handler, IActionResult? result)
134public static partial void ExecutedImplicitHandlerMethod(this ILogger logger, string actionResult);
136public static void ExecutedImplicitHandlerMethod(this ILogger logger, IActionResult result)
145public static partial void BeforeExecutingMethodOnFilter(this ILogger logger, string filterType, string method, IFilterMetadata filter);
148public static partial void AfterExecutingMethodOnFilter(this ILogger logger, string filterType, string method, IFilterMetadata filter);
152this ILogger logger,
156public static partial void NotMostEffectiveFilter(this ILogger logger, Type filterPolicy);
Microsoft.AspNetCore.Mvc.RazorPages.Test (14)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.Mvc.ViewFeatures (37)
PartialViewResultExecutor.cs (8)
51/// Gets the <see cref="ILogger"/>.
53protected ILogger Logger { get; }
193public static partial void PartialViewResultExecuting(ILogger logger, string partialViewName);
196private static partial void PartialViewFound(ILogger logger, string partialViewFilePath, double elapsedMilliseconds);
198public static void PartialViewFound(ILogger logger, IView view, TimeSpan timespan)
204public static partial void PartialViewNotFound(ILogger logger, string partialViewName, IEnumerable<string> searchedViewLocations);
207private static partial void PartialViewResultExecuted(ILogger logger, string? partialViewName, double elapsedMilliseconds);
209public static void PartialViewResultExecuted(ILogger logger, string? partialViewName, TimeSpan timespan)
ViewResultExecutor.cs (8)
51/// Gets the <see cref="ILogger"/>.
53protected ILogger Logger { get; }
193public static partial void ViewResultExecuting(ILogger logger, string viewName);
196private static partial void ViewFound(ILogger logger, string viewFilePath, double elapsedMilliseconds);
198public static void ViewFound(ILogger logger, IView view, TimeSpan timespan)
204public static partial void ViewNotFound(ILogger logger, string viewName, IEnumerable<string> searchedViewLocations);
207private static partial void ViewResultExecuted(ILogger logger, string viewName, double elapsedMilliseconds);
209public static void ViewResultExecuted(ILogger logger, string viewName, TimeSpan timespan)
Microsoft.AspNetCore.OutputCaching (15)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (5)
Microsoft.AspNetCore.RateLimiting (5)
Microsoft.AspNetCore.RequestDecompression (6)
Microsoft.AspNetCore.ResponseCaching (32)
LoggerExtensions.cs (29)
16internal static partial void RequestMethodNotCacheable(this ILogger logger, string method);
20internal static partial void RequestWithAuthorizationNotCacheable(this ILogger logger);
24internal static partial void RequestWithNoCacheNotCacheable(this ILogger logger);
28internal static partial void RequestWithPragmaNoCacheNotCacheable(this ILogger logger);
32internal static partial void ExpirationMinFreshAdded(this ILogger logger, TimeSpan duration);
36internal static partial void ExpirationSharedMaxAgeExceeded(this ILogger logger, TimeSpan age, TimeSpan sharedMaxAge);
41internal static partial void ExpirationMustRevalidate(this ILogger logger, TimeSpan age, TimeSpan maxAge);
46internal static partial void ExpirationMaxStaleSatisfied(this ILogger logger, TimeSpan age, TimeSpan maxAge, TimeSpan maxStale);
49internal static partial void ExpirationMaxAgeExceeded(this ILogger logger, TimeSpan age, TimeSpan maxAge);
53internal static partial void ExpirationExpiresExceeded(this ILogger logger, DateTimeOffset responseTime, DateTimeOffset expired);
57internal static partial void ResponseWithoutPublicNotCacheable(this ILogger logger);
61internal static partial void ResponseWithNoStoreNotCacheable(this ILogger logger);
64internal static partial void ResponseWithNoCacheNotCacheable(this ILogger logger);
67internal static partial void ResponseWithSetCookieNotCacheable(this ILogger logger);
71internal static partial void ResponseWithVaryStarNotCacheable(this ILogger logger);
75internal static partial void ResponseWithPrivateNotCacheable(this ILogger logger);
79internal static partial void ResponseWithUnsuccessfulStatusCodeNotCacheable(this ILogger logger, int statusCode);
82internal static partial void NotModifiedIfNoneMatchStar(this ILogger logger);
86internal static partial void NotModifiedIfNoneMatchMatched(this ILogger logger, EntityTagHeaderValue etag);
90internal static partial void NotModifiedIfModifiedSinceSatisfied(this ILogger logger, DateTimeOffset lastModified, DateTimeOffset ifModifiedSince);
93internal static partial void NotModifiedServed(this ILogger logger);
96internal static partial void CachedResponseServed(this ILogger logger);
100internal static partial void GatewayTimeoutServed(this ILogger logger);
103internal static partial void NoResponseServed(this ILogger logger);
106internal static partial void VaryByRulesUpdated(this ILogger logger, string headers, string queryKeys);
109internal static partial void ResponseCached(this ILogger logger);
112internal static partial void LogResponseNotCached(this ILogger logger);
116internal static partial void ResponseContentLengthMismatchNotCached(this ILogger logger);
122internal static partial void ExpirationInfiniteMaxStaleSatisfied(this ILogger logger, TimeSpan age, TimeSpan maxAge);
Microsoft.AspNetCore.ResponseCompression (9)
Microsoft.AspNetCore.Rewrite (17)
Extensions\RewriteMiddlewareLoggingExtensions.cs (14)
11public static partial void RewriteMiddlewareRequestContinueResults(this ILogger logger, string currentUrl);
14public static partial void RewriteMiddlewareRequestResponseComplete(this ILogger logger, string location, int statusCode);
17public static partial void RewriteMiddlewareRequestStopRules(this ILogger logger, string rewrittenUrl);
20public static partial void UrlRewriteNotMatchedRule(this ILogger logger, string? name);
23public static partial void UrlRewriteMatchedRule(this ILogger logger, string? name);
26public static partial void ModRewriteNotMatchedRule(this ILogger logger);
29public static partial void ModRewriteMatchedRule(this ILogger logger);
32public static partial void RedirectedToHttps(this ILogger logger);
35public static partial void RedirectedToWww(this ILogger logger);
38public static partial void RedirectedToNonWww(this ILogger logger);
40public static partial void RedirectedRequest(this ILogger logger, string redirectedUrl);
43public static partial void RewrittenRequest(this ILogger logger, string rewrittenUrl);
46public static partial void AbortedRequest(this ILogger logger, string requestedUrl);
49public static partial void CustomResponse(this ILogger logger, string requestedUrl);
Microsoft.AspNetCore.Routing (70)
DefaultLinkGenerator.cs (15)
339public static void EndpointsFound(ILogger logger, object? address, IEnumerable<Endpoint> endpoints)
349private static partial void EndpointsFound(ILogger logger, IEnumerable<string?> endpoints, object? address);
352public static partial void EndpointsNotFound(ILogger logger, object? address);
354public static void TemplateSucceeded(ILogger logger, RouteEndpoint endpoint, PathString path, QueryString query)
360private static partial void TemplateSucceeded(ILogger logger, string? template, string? endpoint, string? path, string? query);
362public static void TemplateFailedRequiredValues(ILogger logger, RouteEndpoint endpoint, RouteValueDictionary? ambientValues, RouteValueDictionary values)
377private static partial void TemplateFailedRequiredValues(ILogger logger, string? template, string? endpoint, string ambientValues, string values, string defaults);
379public static void TemplateFailedConstraint(ILogger logger, RouteEndpoint endpoint, string? parameterName, IRouteConstraint? constraint, RouteValueDictionary values)
393private static partial void TemplateFailedConstraint(ILogger logger, string? template, string? endpoint, IRouteConstraint? constraint, string? parameterName, string values);
395public static void TemplateFailedExpansion(ILogger logger, RouteEndpoint endpoint, RouteValueDictionary values)
410private static partial void TemplateFailedExpansion(ILogger logger, string? template, string? endpoint, string values);
412public static void LinkGenerationSucceeded(ILogger logger, IEnumerable<Endpoint> endpoints, string uri)
425private static partial void LinkGenerationSucceeded(ILogger logger, IEnumerable<string?> endpoints, string uri);
427public static void LinkGenerationFailed(ILogger logger, IEnumerable<Endpoint> endpoints)
437private static partial void LinkGenerationFailed(ILogger logger, IEnumerable<string?> endpoints);
DefaultLinkParser.cs (7)
172public static void EndpointsFound(ILogger logger, object? address, IEnumerable<Endpoint> endpoints)
182private static partial void EndpointsFound(ILogger logger, IEnumerable<string?> endpoints, object? address);
185public static partial void EndpointsNotFound(ILogger logger, object? address);
187public static void PathParsingSucceeded(ILogger logger, PathString path, Endpoint endpoint)
197private static partial void PathParsingSucceeded(ILogger logger, string? endpoint, string? uri);
199public static void PathParsingFailed(ILogger logger, PathString path, IEnumerable<Endpoint> endpoints)
209private static partial void PathParsingFailed(ILogger logger, IEnumerable<string?> endpoints, string? uri);
EndpointRoutingMiddleware.cs (16)
26private readonly ILogger _logger;
214static async Task AwaitRequestTask(Endpoint endpoint, Task requestTask, ILogger logger)
339public static void MatchSuccess(ILogger logger, Endpoint endpoint)
343private static partial void MatchSuccess(ILogger logger, string? endpointName);
346public static partial void MatchFailure(ILogger logger);
348public static void MatchSkipped(ILogger logger, Endpoint endpoint)
352private static partial void MatchingSkipped(ILogger logger, string? endpointName);
355public static partial void ExecutingEndpoint(ILogger logger, Endpoint endpointName);
358public static partial void ExecutedEndpoint(ILogger logger, Endpoint endpointName);
361public static partial void ShortCircuitedEndpoint(ILogger logger, Endpoint endpointName);
364public static partial void FallbackMatch(ILogger logger, Endpoint endpointName);
367public static partial void RequestSizeLimitMetadataNotFound(ILogger logger);
370public static partial void RequestSizeFeatureNotFound(ILogger logger);
373public static partial void RequestSizeFeatureIsReadOnly(ILogger logger);
376public static partial void MaxRequestBodySizeSet(ILogger logger, string requestSize);
379public static partial void MaxRequestBodySizeDisabled(ILogger logger);
Matching\DfaMatcher.cs (12)
16private readonly ILogger _logger;
353public static partial void CandidatesNotFound(ILogger logger, string path);
355public static void CandidatesFound(ILogger logger, string path, Candidate[] candidates)
362private static partial void CandidatesFound(ILogger logger, int candidateCount, string path);
364public static void CandidateRejectedByComplexSegment(ILogger logger, string path, Endpoint endpoint, RoutePatternPathSegment segment)
378private static partial void CandidateRejectedByComplexSegment(ILogger logger, string? endpoint, string routePattern, string segment, string path);
380public static void CandidateRejectedByConstraint(ILogger logger, string path, Endpoint endpoint, string constraintName, IRouteConstraint constraint, object? value)
394private static partial void CandidateRejectedByConstraint(ILogger logger, string? endpoint, string routePattern, string constraintName, string? constraint, object? routeValue, string path);
396public static void CandidateNotValid(ILogger logger, string path, Endpoint endpoint)
410private static partial void CandidateNotValid(ILogger logger, string? endpoint, string routePattern, string path);
412public static void CandidateValid(ILogger logger, string path, Endpoint endpoint)
426private static partial void CandidateValid(ILogger logger, string? endpoint, string routePattern, string path);
Microsoft.AspNetCore.Routing.Tests (1)
Microsoft.AspNetCore.Server.HttpSys (76)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
Microsoft.AspNetCore.Server.IIS (15)
Core\IISHttpContext.Log.cs (6)
14public static partial void ConnectionDisconnect(ILogger logger, string connectionId);
17public static partial void ApplicationError(ILogger logger, string connectionId, string traceIdentifier, Exception ex);
20public static partial void UnexpectedError(ILogger logger, string className, Exception ex, [CallerMemberName] string? methodName = null);
22public static void ConnectionBadRequest(ILogger logger, string connectionId, Microsoft.AspNetCore.Http.BadHttpRequestException ex)
26private static partial void ConnectionBadRequest(ILogger logger, string connectionId, string message, Microsoft.AspNetCore.Http.BadHttpRequestException ex);
29public static partial void RequestAborted(ILogger logger, string connectionId, string traceIdentifier);
Microsoft.AspNetCore.Server.IISIntegration (3)
Microsoft.AspNetCore.Server.IntegrationTesting (12)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (5)
Microsoft.AspNetCore.Server.Kestrel.Core (75)
Internal\Infrastructure\KestrelTrace.BadRequests.cs (5)
42public static partial void ConnectionBadRequest(ILogger logger, string connectionId, string message, Microsoft.AspNetCore.Http.BadHttpRequestException ex);
45public static partial void RequestProcessingError(ILogger logger, string connectionId, Exception ex);
48public static partial void RequestBodyMinimumDataRateNotSatisfied(ILogger logger, string connectionId, string? traceIdentifier, double rate);
51public static partial void ResponseMinimumDataRateNotSatisfied(ILogger logger, string connectionId, string? traceIdentifier);
54public static partial void PossibleInvalidHttpVersionDetected(ILogger logger, string connectionId, string expectedHttpVersion, string detectedHttpVersion);
Internal\Infrastructure\KestrelTrace.Connections.cs (11)
68public static partial void ConnectionStart(ILogger logger, string connectionId);
71public static partial void ConnectionStop(ILogger logger, string connectionId);
74public static partial void ConnectionPause(ILogger logger, string connectionId);
77public static partial void ConnectionResume(ILogger logger, string connectionId);
80public static partial void ConnectionKeepAlive(ILogger logger, string connectionId);
83public static partial void ConnectionDisconnect(ILogger logger, string connectionId);
86public static partial void NotAllConnectionsClosedGracefully(ILogger logger);
89public static partial void NotAllConnectionsAborted(ILogger logger);
92public static partial void ConnectionRejected(ILogger logger, string connectionId);
95public static partial void ApplicationAbortedConnection(ILogger logger, string connectionId, string traceIdentifier);
98public static partial void ConnectionAccepted(ILogger logger, string connectionId);
Internal\Infrastructure\KestrelTrace.General.cs (13)
80public static partial void ApplicationError(ILogger logger, string connectionId, string traceIdentifier, Exception ex);
83public static partial void ConnectionHeadResponseBodyWrite(ILogger logger, string connectionId, long count);
86public static partial void HeartbeatSlow(ILogger logger, DateTimeOffset now, TimeSpan heartbeatDuration, TimeSpan interval);
89public static partial void ApplicationNeverCompleted(ILogger logger, string connectionId);
92public static partial void RequestBodyStart(ILogger logger, string connectionId, string traceIdentifier);
95public static partial void RequestBodyDone(ILogger logger, string connectionId, string traceIdentifier);
98public static partial void RequestBodyNotEntirelyRead(ILogger logger, string connectionId, string traceIdentifier);
101public static partial void RequestBodyDrainTimedOut(ILogger logger, string connectionId, string traceIdentifier);
104public static partial void InvalidResponseHeaderRemoved(ILogger logger);
107public static partial void Http2DisabledWithHttp1AndNoTls(ILogger logger, EndPoint endPoint);
110public static partial void Http3DisabledWithHttp1AndNoTls(ILogger logger, EndPoint endPoint);
113public static partial void RequestAbortedException(ILogger logger, string connectionId, string traceIdentifier);
116public static partial void RequestBodyDrainBodyReaderInvalidState(ILogger logger, string connectionId, string traceIdentifier, Exception ex);
Internal\Infrastructure\KestrelTrace.Http2.cs (17)
106public static partial void Http2ConnectionError(ILogger logger, string connectionId, Http2ConnectionErrorException ex);
109public static partial void Http2StreamError(ILogger logger, string connectionId, Http2StreamErrorException ex);
112public static partial void HPackDecodingError(ILogger logger, string connectionId, int streamId, Exception ex);
115public static partial void Http2StreamResetAbort(ILogger logger, string traceIdentifier, Http2ErrorCode error, ConnectionAbortedException abortReason);
118public static partial void Http2ConnectionClosing(ILogger logger, string connectionId);
121public static partial void Http2FrameReceived(ILogger logger, string connectionId, Http2FrameType type, int id, int length, object flags);
124public static partial void HPackEncodingError(ILogger logger, string connectionId, int streamId, Exception ex);
127public static partial void Http2MaxConcurrentStreamsReached(ILogger logger, string connectionId);
130public static partial void Http2ConnectionClosed(ILogger logger, string connectionId, int highestOpenedStreamId);
133public static partial void Http2FrameSending(ILogger logger, string connectionId, Http2FrameType type, int id, int length, object flags);
136public static partial void Http2QueueOperationsExceeded(ILogger logger, string connectionId, ConnectionAbortedException ex);
139public static partial void Http2UnexpectedDataRemaining(ILogger logger, int streamId, string connectionId);
142public static partial void Http2ConnectionQueueProcessingCompleted(ILogger logger, string connectionId);
145public static partial void Http2UnexpectedConnectionQueueError(ILogger logger, string connectionId, Exception ex);
150public static partial void Http2TooManyEnhanceYourCalms(ILogger logger, string connectionId, int count);
153public static partial void Http2FlowControlQueueOperationsExceeded(ILogger logger, string connectionId, int count);
156public static partial void Http2FlowControlQueueMaximumTooLow(ILogger logger, string connectionId, int expected, int actual);
Internal\Infrastructure\KestrelTrace.Http3.cs (10)
75public static partial void Http3ConnectionError(ILogger logger, string connectionId, Http3ConnectionErrorException ex);
78public static partial void Http3ConnectionClosing(ILogger logger, string connectionId);
81public static partial void Http3ConnectionClosed(ILogger logger, string connectionId, long? highestOpenedStreamId);
84public static partial void Http3StreamAbort(ILogger logger, string traceIdentifier, string error, ConnectionAbortedException abortReason);
87public static partial void Http3FrameReceived(ILogger logger, string connectionId, string type, long id, long length);
90public static partial void Http3FrameSending(ILogger logger, string connectionId, string type, long id, long length);
93public static partial void Http3OutboundControlStreamError(ILogger logger, string connectionId, Exception ex);
96public static partial void QPackDecodingError(ILogger logger, string connectionId, long streamId, Exception ex);
99public static partial void QPackEncodingError(ILogger logger, string connectionId, long streamId, Exception ex);
102public static partial void Http3GoAwayStreamId(ILogger logger, string connectionId, long goAwayStreamId);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (14)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
src\Servers\Kestrel\shared\ConnectionCompletion.cs (3)
12public static Task FireOnCompletedAsync(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>>? onCompleted)
22private static Task CompleteAsyncMayAwait(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
43private static async Task CompleteAsyncAwaited(Task currentTask, ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (18)
Internal\NamedPipeLog.cs (15)
12private static partial void AcceptedConnectionCore(ILogger logger, string connectionId);
14public static void AcceptedConnection(ILogger logger, BaseConnectionContext connection)
23private static partial void ConnectionErrorCore(ILogger logger, string connectionId, Exception ex);
25public static void ConnectionError(ILogger logger, BaseConnectionContext connection, Exception ex)
34public static partial void ConnectionListenerAborted(ILogger logger, Exception exception);
37private static partial void ConnectionPauseCore(ILogger logger, string connectionId);
39public static void ConnectionPause(ILogger logger, NamedPipeConnection connection)
48private static partial void ConnectionResumeCore(ILogger logger, string connectionId);
50public static void ConnectionResume(ILogger logger, NamedPipeConnection connection)
59private static partial void ConnectionReadEndCore(ILogger logger, string connectionId);
61public static void ConnectionReadEnd(ILogger logger, NamedPipeConnection connection)
70private static partial void ConnectionDisconnectCore(ILogger logger, string connectionId, string reason);
72public static void ConnectionDisconnect(ILogger logger, NamedPipeConnection connection, string reason)
81public static partial void ConnectionListenerBrokenPipe(ILogger logger, Exception ex);
84public static partial void ConnectionListenerQueueExited(ILogger logger);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (54)
Internal\QuicLog.cs (43)
14private static partial void AcceptedConnectionCore(ILogger logger, string connectionId);
16public static void AcceptedConnection(ILogger logger, BaseConnectionContext connection)
25private static partial void AcceptedStreamCore(ILogger logger, string connectionId, StreamType streamType);
27public static void AcceptedStream(ILogger logger, QuicStreamContext streamContext)
36private static partial void ConnectedStreamCore(ILogger logger, string connectionId, StreamType streamType);
38public static void ConnectedStream(ILogger logger, QuicStreamContext streamContext)
47private static partial void ConnectionErrorCore(ILogger logger, string connectionId, Exception ex);
49public static void ConnectionError(ILogger logger, BaseConnectionContext connection, Exception ex)
58private static partial void ConnectionAbortedCore(ILogger logger, string connectionId, long errorCode, Exception ex);
60public static void ConnectionAborted(ILogger logger, BaseConnectionContext connection, long errorCode, Exception ex)
69private static partial void ConnectionAbortCore(ILogger logger, string connectionId, long errorCode, string reason);
71public static void ConnectionAbort(ILogger logger, BaseConnectionContext connection, long errorCode, string reason)
80private static partial void StreamErrorCore(ILogger logger, string connectionId, Exception ex);
82public static void StreamError(ILogger logger, QuicStreamContext streamContext, Exception ex)
91private static partial void StreamPauseCore(ILogger logger, string connectionId);
93public static void StreamPause(ILogger logger, QuicStreamContext streamContext)
102private static partial void StreamResumeCore(ILogger logger, string connectionId);
104public static void StreamResume(ILogger logger, QuicStreamContext streamContext)
113private static partial void StreamShutdownWriteCore(ILogger logger, string connectionId, string reason);
115public static void StreamShutdownWrite(ILogger logger, QuicStreamContext streamContext, string reason)
124private static partial void StreamAbortedReadCore(ILogger logger, string connectionId, long errorCode);
126public static void StreamAbortedRead(ILogger logger, QuicStreamContext streamContext, long errorCode)
135private static partial void StreamAbortedWriteCore(ILogger logger, string connectionId, long errorCode);
137public static void StreamAbortedWrite(ILogger logger, QuicStreamContext streamContext, long errorCode)
146private static partial void StreamAbortCore(ILogger logger, string connectionId, long errorCode, string reason);
148public static void StreamAbort(ILogger logger, QuicStreamContext streamContext, long errorCode, string reason)
157private static partial void StreamAbortReadCore(ILogger logger, string connectionId, long errorCode, string reason);
159public static void StreamAbortRead(ILogger logger, QuicStreamContext streamContext, long errorCode, string reason)
168private static partial void StreamAbortWriteCore(ILogger logger, string connectionId, long errorCode, string reason);
170public static void StreamAbortWrite(ILogger logger, QuicStreamContext streamContext, long errorCode, string reason)
179private static partial void StreamPooledCore(ILogger logger, string connectionId);
181public static void StreamPooled(ILogger logger, QuicStreamContext streamContext)
190private static partial void StreamReusedCore(ILogger logger, string connectionId);
192public static void StreamReused(ILogger logger, QuicStreamContext streamContext)
202public static partial void ConnectionListenerCertificateNotSpecified(ILogger logger);
205public static partial void ConnectionListenerApplicationProtocolsNotSpecified(ILogger logger);
208public static partial void ConnectionListenerStarting(ILogger logger, IPEndPoint listenEndPoint);
211public static partial void ConnectionListenerAborted(ILogger logger, Exception exception);
214private static partial void StreamTimeoutReadCore(ILogger logger, string connectionId);
216public static void StreamTimeoutRead(ILogger logger, QuicStreamContext streamContext)
225private static partial void StreamTimeoutWriteCore(ILogger logger, string connectionId);
227public static void StreamTimeoutWrite(ILogger logger, QuicStreamContext streamContext)
236public static partial void ConnectionListenerAcceptConnectionFailed(ILogger logger, Exception exception);
src\Servers\Kestrel\shared\ConnectionCompletion.cs (3)
12public static Task FireOnCompletedAsync(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>>? onCompleted)
22private static Task CompleteAsyncMayAwait(ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
43private static async Task CompleteAsyncAwaited(Task currentTask, ILogger logger, Stack<KeyValuePair<Func<object, Task>, object>> onCompleted)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (8)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (21)
Internal\SocketsLog.cs (14)
13private static partial void ConnectionReadFinCore(ILogger logger, string connectionId);
15public static void ConnectionReadFin(ILogger logger, SocketConnection connection)
24private static partial void ConnectionWriteFinCore(ILogger logger, string connectionId, string reason);
26public static void ConnectionWriteFin(ILogger logger, SocketConnection connection, string reason)
35private static partial void ConnectionWriteRstCore(ILogger logger, string connectionId, string reason);
37public static void ConnectionWriteRst(ILogger logger, SocketConnection connection, string reason)
50private static partial void ConnectionErrorCore(ILogger logger, string connectionId, Exception ex);
52public static void ConnectionError(ILogger logger, SocketConnection connection, Exception ex)
61public static partial void ConnectionReset(ILogger logger, string connectionId);
63public static void ConnectionReset(ILogger logger, SocketConnection connection)
72private static partial void ConnectionPauseCore(ILogger logger, string connectionId);
74public static void ConnectionPause(ILogger logger, SocketConnection connection)
83private static partial void ConnectionResumeCore(ILogger logger, string connectionId);
85public static void ConnectionResume(ILogger logger, SocketConnection connection)
Microsoft.AspNetCore.Session (16)
LoggingExtensions.cs (13)
9public static partial void ErrorClosingTheSession(this ILogger logger, Exception exception);
12public static partial void AccessingExpiredSession(this ILogger logger, string sessionKey);
15public static partial void SessionStarted(this ILogger logger, string sessionKey, string sessionId);
18public static partial void SessionLoaded(this ILogger logger, string sessionKey, string sessionId, int count);
21public static partial void SessionStored(this ILogger logger, string sessionKey, string sessionId, int count);
24public static partial void SessionCacheReadException(this ILogger logger, string sessionKey, Exception exception);
27public static partial void ErrorUnprotectingSessionCookie(this ILogger logger, Exception exception);
30public static partial void SessionLoadingTimeout(this ILogger logger);
33public static partial void SessionCommitTimeout(this ILogger logger);
36public static partial void SessionCommitCanceled(this ILogger logger);
39public static partial void SessionRefreshTimeout(this ILogger logger);
42public static partial void SessionRefreshCanceled(this ILogger logger);
45public static partial void SessionNotAvailable(this ILogger logger);
Microsoft.AspNetCore.SignalR.Client.Core (111)
HubConnection.Log.cs (95)
16public static partial void PreparingNonBlockingInvocation(ILogger logger, string target, int argumentCount);
19public static partial void PreparingBlockingInvocation(ILogger logger, string invocationId, string target, string returnType, int argumentCount);
22public static partial void RegisteringInvocation(ILogger logger, string invocationId);
25private static partial void IssuingInvocation(ILogger logger, string invocationId, string returnType, string methodName, string args);
27public static void IssuingInvocation(ILogger logger, string invocationId, string returnType, string methodName, object?[] args)
36public static void SendingMessage(ILogger logger, HubMessage message)
52private static partial void SendingMessage(ILogger logger, string messageType, string? invocationId);
55private static partial void SendingMessageGeneric(ILogger logger, string messageType);
57public static void MessageSent(ILogger logger, HubMessage message)
73private static partial void MessageSent(ILogger logger, string messageType, string? invocationId);
76private static partial void MessageSentGeneric(ILogger logger, string messageType);
79public static partial void FailedToSendInvocation(ILogger logger, string invocationId, Exception exception);
82private static partial void ReceivedInvocation(ILogger logger, string? invocationId, string methodName, string args);
84public static void ReceivedInvocation(ILogger logger, string? invocationId, string methodName, object?[] args)
94public static partial void DroppedCompletionMessage(ILogger logger, string invocationId);
97public static partial void DroppedStreamMessage(ILogger logger, string invocationId);
100public static partial void ShutdownConnection(ILogger logger);
103public static partial void ShutdownWithError(ILogger logger, Exception exception);
106public static partial void RemovingInvocation(ILogger logger, string invocationId);
109public static partial void MissingHandler(ILogger logger, string target);
112public static partial void ReceivedStreamItem(ILogger logger, string invocationId);
115public static partial void CancelingStreamItem(ILogger logger, string invocationId);
118public static partial void ReceivedStreamItemAfterClose(ILogger logger, string invocationId);
121public static partial void ReceivedInvocationCompletion(ILogger logger, string invocationId);
124public static partial void CancelingInvocationCompletion(ILogger logger, string invocationId);
127public static partial void Stopped(ILogger logger);
130public static partial void InvocationAlreadyInUse(ILogger logger, string invocationId);
133public static partial void ReceivedUnexpectedResponse(ILogger logger, string invocationId);
136public static partial void HubProtocol(ILogger logger, string protocol, int version);
139public static partial void PreparingStreamingInvocation(ILogger logger, string invocationId, string target, string returnType, int argumentCount);
142public static partial void ResettingKeepAliveTimer(ILogger logger);
145public static partial void ErrorDuringClosedEvent(ILogger logger, Exception exception);
148public static partial void SendingHubHandshake(ILogger logger);
151public static partial void ReceivedPing(ILogger logger);
154public static partial void ErrorInvokingClientSideMethod(ILogger logger, string methodName, Exception exception);
157public static partial void ErrorReceivingHandshakeResponse(ILogger logger, Exception exception);
160public static partial void HandshakeServerError(ILogger logger, string error);
163public static partial void ReceivedClose(ILogger logger);
166public static partial void ReceivedCloseWithError(ILogger logger, string error);
169public static partial void HandshakeComplete(ILogger logger);
172public static partial void RegisteringHandler(ILogger logger, string methodName);
175public static partial void RemovingHandlers(ILogger logger, string methodName);
178public static partial void Starting(ILogger logger);
181public static partial void ErrorStartingConnection(ILogger logger, Exception ex);
184public static partial void Started(ILogger logger);
187public static partial void SendingCancellation(ILogger logger, string invocationId);
190public static partial void CancelingOutstandingInvocations(ILogger logger);
193public static partial void ReceiveLoopStarting(ILogger logger);
196public static partial void StartingServerTimeoutTimer(ILogger logger, double serverTimeout);
198public static void StartingServerTimeoutTimer(ILogger logger, TimeSpan serverTimeout)
207public static partial void NotUsingServerTimeout(ILogger logger);
210public static partial void ServerDisconnectedWithError(ILogger logger, Exception ex);
213public static partial void InvokingClosedEventHandler(ILogger logger);
216public static partial void Stopping(ILogger logger);
219public static partial void TerminatingReceiveLoop(ILogger logger);
222public static partial void WaitingForReceiveLoopToTerminate(ILogger logger);
225public static partial void ProcessingMessage(ILogger logger, long messageLength);
228public static partial void WaitingOnConnectionLock(ILogger logger, string? methodName, string? filePath, int lineNumber);
231public static partial void ReleasingConnectionLock(ILogger logger, string? methodName, string? filePath, int lineNumber);
234public static partial void UnableToSendCancellation(ILogger logger, string invocationId);
237public static partial void ArgumentBindingFailure(ILogger logger, string? invocationId, string methodName, Exception exception);
240public static partial void AcquiredConnectionLockForPing(ILogger logger);
243public static partial void UnableToAcquireConnectionLockForPing(ILogger logger);
246public static partial void StartingStream(ILogger logger, string streamId);
249public static partial void SendingStreamItem(ILogger logger, string streamId);
252public static partial void CancelingStream(ILogger logger, string streamId);
255public static partial void CompletingStream(ILogger logger, string streamId);
258public static partial void StateTransitionFailed(ILogger logger, HubConnectionState expectedState, HubConnectionState newState, HubConnectionState actualState);
261public static partial void Reconnecting(ILogger logger);
264public static partial void ReconnectingWithError(ILogger logger, Exception exception);
267public static partial void Reconnected(ILogger logger, long reconnectAttempts, TimeSpan elapsedTime);
270public static partial void ReconnectAttemptsExhausted(ILogger logger, long reconnectAttempts, TimeSpan elapsedTime);
273public static partial void AwaitingReconnectRetryDelay(ILogger logger, long reconnectAttempts, TimeSpan retryDelay);
276public static partial void ReconnectAttemptFailed(ILogger logger, Exception exception);
279public static partial void ErrorDuringReconnectingEvent(ILogger logger, Exception exception);
282public static partial void ErrorDuringReconnectedEvent(ILogger logger, Exception exception);
285public static partial void ErrorDuringNextRetryDelay(ILogger logger, Exception exception);
288public static partial void FirstReconnectRetryDelayNull(ILogger logger);
291public static partial void ReconnectingStoppedDuringRetryDelay(ILogger logger);
294public static partial void ReconnectingStoppedDuringReconnectAttempt(ILogger logger);
297public static partial void AttemptingStateTransition(ILogger logger, HubConnectionState expectedState, HubConnectionState newState);
300public static partial void ErrorInvalidHandshakeResponse(ILogger logger, Exception exception);
302public static void ErrorHandshakeTimedOut(ILogger logger, TimeSpan handshakeTimeout, Exception exception)
306private static partial void ErrorHandshakeTimedOut(ILogger logger, double HandshakeTimeoutSeconds, Exception exception);
309public static partial void ErrorHandshakeCanceled(ILogger logger, Exception exception);
312public static partial void ErroredStream(ILogger logger, string streamId, Exception exception);
315public static partial void MissingResultHandler(ILogger logger, string target);
318public static partial void ResultNotExpected(ILogger logger, string target);
321public static partial void CompletingStreamNotSent(ILogger logger, string streamId);
324public static partial void ErrorSendingInvocationResult(ILogger logger, string invocationId, string target, Exception exception);
327public static partial void ErrorSendingStreamCompletion(ILogger logger, string streamId, Exception exception);
330public static partial void DroppingMessage(ILogger logger, string messageType, string? invocationId);
333public static partial void ReceivedAckMessage(ILogger logger, long sequenceId);
336public static partial void ReceivedSequenceMessage(ILogger logger, long sequenceId);
339public static partial void DisablingReconnect(ILogger logger, string protocol, int version);
Internal\InvocationRequest.cs (9)
20protected ILogger Logger { get; }
28protected InvocationRequest(CancellationToken cancellationToken, Type resultType, string invocationId, ILogger logger, HubConnection hubConnection, Activity? activity)
237public static partial void InvocationCreated(ILogger logger, string invocationId);
240public static partial void InvocationDisposed(ILogger logger, string invocationId);
243public static partial void InvocationCompleted(ILogger logger, string invocationId);
246public static partial void InvocationFailed(ILogger logger, string invocationId);
251public static partial void ErrorWritingStreamItem(ILogger logger, string invocationId, Exception exception);
254public static partial void ReceivedUnexpectedComplete(ILogger logger, string invocationId);
259public static partial void StreamItemOnNonStreamInvocation(ILogger logger, string invocationId);
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Core (56)
HubConnectionContext.Log.cs (11)
13public static partial void HandshakeComplete(ILogger logger, string protocol);
16public static partial void HandshakeCanceled(ILogger logger);
19public static partial void SentPing(ILogger logger);
22public static partial void TransportBufferFull(ILogger logger);
25public static partial void HandshakeFailed(ILogger logger, Exception? exception);
28public static partial void FailedWritingMessage(ILogger logger, Exception exception);
31public static partial void ProtocolVersionFailed(ILogger logger, string protocol, int version);
34public static partial void AbortFailed(ILogger logger, Exception exception);
37public static partial void ClientTimeout(ILogger logger, TimeSpan clientTimeout);
40public static partial void HandshakeSizeLimitExceeded(ILogger logger, long maxMessageSize);
43public static partial void DisablingReconnect(ILogger logger, string protocol, int version);
Internal\DefaultHubDispatcherLog.cs (31)
13public static partial void ReceivedHubInvocation(ILogger logger, InvocationMessage invocationMessage);
16public static partial void UnsupportedMessageReceived(ILogger logger, string messageType);
19public static partial void UnknownHubMethod(ILogger logger, string hubMethod);
24public static partial void HubMethodNotAuthorized(ILogger logger, string hubMethod);
26public static void StreamingResult(ILogger logger, string invocationId, ObjectMethodExecutor objectMethodExecutor)
36private static partial void StreamingResult(ILogger logger, string invocationId, string? resultType);
38public static void SendingResult(ILogger logger, string? invocationId, ObjectMethodExecutor objectMethodExecutor)
48private static partial void SendingResult(ILogger logger, string? invocationId, string? resultType);
51public static partial void FailedInvokingHubMethod(ILogger logger, string hubMethod, Exception exception);
54public static partial void HubMethodBound(ILogger logger, string hubName, string hubMethod);
57public static partial void CancelStream(ILogger logger, string invocationId);
60public static partial void UnexpectedCancel(ILogger logger);
63public static partial void ReceivedStreamHubInvocation(ILogger logger, StreamInvocationMessage invocationMessage);
66public static partial void StreamingMethodCalledWithInvoke(ILogger logger, HubMethodInvocationMessage invocationMessage);
69public static partial void NonStreamingMethodCalledWithStream(ILogger logger, HubMethodInvocationMessage invocationMessage);
72public static partial void InvalidReturnValueFromStreamingMethod(ILogger logger, string hubMethod);
74public static void ReceivedStreamItem(ILogger logger, StreamItemMessage message)
78private static partial void ReceivedStreamItem(ILogger logger, string? streamId);
81public static partial void StartingParameterStream(ILogger logger, string streamId);
83public static void CompletingStream(ILogger logger, CompletionMessage message)
87private static partial void CompletingStream(ILogger logger, string? streamId);
89public static void ClosingStreamWithBindingError(ILogger logger, CompletionMessage message)
93private static partial void ClosingStreamWithBindingError(ILogger logger, string? streamId, string? error);
98public static partial void UnexpectedStreamItem(ILogger logger);
101public static partial void InvalidHubParameters(ILogger logger, string hubMethod, Exception exception);
104public static partial void InvocationIdInUse(ILogger logger, string InvocationId);
107public static partial void UnexpectedCompletion(ILogger logger, string invocationId);
110public static partial void FailedStreaming(ILogger logger, string invocationId, string hubMethod, Exception exception);
113public static partial void DroppingMessage(ILogger logger, string messageType, string? invocationId);
116public static partial void ReceivedAckMessage(ILogger logger, long sequenceId);
119public static partial void ReceivedSequenceMessage(ILogger logger, long sequenceId);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (20)
Internal\RedisLog.cs (17)
14public static void ConnectingToEndpoints(ILogger logger, EndPointCollection endpoints, string serverName)
23private static partial void ConnectingToEndpoints(ILogger logger, string endpoints, string serverName);
26public static partial void Connected(ILogger logger);
29public static partial void Subscribing(ILogger logger, string channel);
32public static partial void ReceivedFromChannel(ILogger logger, string channel);
35public static partial void PublishToChannel(ILogger logger, string channel);
38public static partial void Unsubscribe(ILogger logger, string channel);
41public static partial void NotConnected(ILogger logger);
44public static partial void ConnectionRestored(ILogger logger);
47public static partial void ConnectionFailed(ILogger logger, Exception exception);
50public static partial void FailedWritingMessage(ILogger logger, Exception exception);
53public static partial void InternalMessageFailed(ILogger logger, Exception exception);
56public static partial void MismatchedServers(ILogger logger, string hubProtocol);
59public static partial void ErrorForwardingResult(ILogger logger, string invocationId, Exception ex);
62public static partial void ErrorConnecting(ILogger logger, Exception ex);
65public static partial void ErrorParsingResult(ILogger logger, string hubProtocol, Exception? ex);
68public static void ConnectionMultiplexerMessage(ILogger logger, string? message)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (9)
Docker.cs (7)
74private void StartRedis(ILogger logger)
119public void Start(ILogger logger)
142public void Stop(ILogger logger)
155public int RunCommand(string commandAndArguments, string prefix, ILogger logger, out string output)
160private static void RunProcessAndThrowIfFailed(string fileName, string arguments, string prefix, ILogger logger, TimeSpan timeout)
170private static int RunProcessAndWait(string fileName, string arguments, string prefix, ILogger logger, TimeSpan timeout, out string output)
195private static (Process, ConcurrentQueue<string>) RunProcess(string fileName, string arguments, string prefix, ILogger logger)
Microsoft.AspNetCore.SignalR.Tests (1)
Microsoft.AspNetCore.SignalR.Tests.Utils (11)
Microsoft.AspNetCore.SpaServices.Extensions (8)
Microsoft.AspNetCore.SpaServices.Extensions.Tests (2)
Microsoft.AspNetCore.StaticAssets (22)
LoggerExtensions.cs (16)
12public static partial void RequestMethodNotSupported(this ILogger logger, string method);
15private static partial void FileServedCore(this ILogger logger, string virtualPath, string physicalPath);
17public static void FileServed(this ILogger logger, string virtualPath, string physicalPath)
27public static partial void EndpointMatched(this ILogger logger);
30public static partial void PathMismatch(this ILogger logger, string path);
33public static partial void FileTypeNotSupported(this ILogger logger, string path);
36public static partial void FileNotFound(this ILogger logger, string path);
39public static partial void FileNotModified(this ILogger logger, string path);
42public static partial void PreconditionFailed(this ILogger logger, string path);
45public static partial void Handled(this ILogger logger, int statusCode, string path);
48public static partial void RangeNotSatisfiable(this ILogger logger, string path);
51public static partial void SendingFileRange(this ILogger logger, StringValues range, string path);
54public static partial void CopyingFileRange(this ILogger logger, StringValues range, string path);
57public static partial void WriteCancelled(this ILogger logger, Exception ex);
61public static partial void WebRootPathNotFound(this ILogger logger, string webRootPath);
66public static partial void EnsureStaticWebAssetsEnabled(this ILogger logger);
Microsoft.AspNetCore.StaticFiles (20)
LoggerExtensions.cs (15)
15public static partial void RequestMethodNotSupported(this ILogger logger, string method);
18private static partial void FileServedCore(this ILogger logger, string virtualPath, string physicalPath);
20public static void FileServed(this ILogger logger, string virtualPath, string physicalPath)
30public static partial void EndpointMatched(this ILogger logger);
33public static partial void PathMismatch(this ILogger logger, string path);
36public static partial void FileTypeNotSupported(this ILogger logger, string path);
39public static partial void FileNotFound(this ILogger logger, string path);
42public static partial void FileNotModified(this ILogger logger, string path);
45public static partial void PreconditionFailed(this ILogger logger, string path);
48public static partial void Handled(this ILogger logger, int statusCode, string path);
51public static partial void RangeNotSatisfiable(this ILogger logger, string path);
54public static partial void SendingFileRange(this ILogger logger, StringValues range, string path);
57public static partial void CopyingFileRange(this ILogger logger, StringValues range, string path);
60public static partial void WriteCancelled(this ILogger logger, Exception ex);
64public static partial void WebRootPathNotFound(this ILogger logger, string webRootPath);
Microsoft.AspNetCore.StaticFiles.FunctionalTests (2)
Microsoft.AspNetCore.WebSockets (5)
Microsoft.AspNetCore.WebSockets.ConformanceTests (3)
Microsoft.CodeAnalysis.LanguageServer (44)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (3)
Microsoft.CodeAnalysis.Rebuild (3)
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
Microsoft.DotNet.SwaggerGenerator.CmdLine (1)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Memory (2)
Microsoft.Extensions.Caching.StackExchangeRedis (4)
Microsoft.Extensions.Diagnostics.HealthChecks (22)
DefaultHealthCheckService.cs (11)
206public static partial void HealthCheckProcessingBegin(ILogger logger);
208public static void HealthCheckProcessingEnd(ILogger logger, HealthStatus status, TimeSpan duration) =>
212private static partial void HealthCheckProcessingEnd(ILogger logger, HealthStatus HealthStatus, double ElapsedMilliseconds);
215public static partial void HealthCheckBegin(ILogger logger, string HealthCheckName);
223private static partial void HealthCheckEndHealthy(ILogger logger, string HealthCheckName, HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription);
226private static partial void HealthCheckEndDegraded(ILogger logger, string HealthCheckName, HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, Exception? exception);
229private static partial void HealthCheckEndUnhealthy(ILogger logger, string HealthCheckName, HealthStatus HealthStatus, double ElapsedMilliseconds, string? HealthCheckDescription, Exception? exception);
233public static void HealthCheckEnd(ILogger logger, HealthCheckRegistration registration, HealthReportEntry entry, TimeSpan duration)
252private static partial void HealthCheckError(ILogger logger, string HealthCheckName, double ElapsedMilliseconds, Exception exception);
254public static void HealthCheckError(ILogger logger, HealthCheckRegistration registration, Exception exception, TimeSpan duration) =>
257public static void HealthCheckData(ILogger logger, HealthCheckRegistration registration, HealthReportEntry entry)
HealthCheckPublisherHostedService.cs (11)
24private readonly ILogger _logger;
253public static partial void HealthCheckPublisherProcessingBegin(ILogger logger);
255public static void HealthCheckPublisherProcessingEnd(ILogger logger, TimeSpan duration, Exception? exception = null) =>
259private static partial void HealthCheckPublisherProcessingEnd(ILogger logger, double ElapsedMilliseconds, Exception? exception = null);
262public static partial void HealthCheckPublisherBegin(ILogger logger, IHealthCheckPublisher HealthCheckPublisher);
264public static void HealthCheckPublisherEnd(ILogger logger, IHealthCheckPublisher HealthCheckPublisher, TimeSpan duration) =>
268private static partial void HealthCheckPublisherEnd(ILogger logger, IHealthCheckPublisher HealthCheckPublisher, double ElapsedMilliseconds);
270public static void HealthCheckPublisherError(ILogger logger, IHealthCheckPublisher publisher, TimeSpan duration, Exception exception) =>
275private static partial void HealthCheckPublisherError(ILogger logger, IHealthCheckPublisher HealthCheckPublisher, double ElapsedMilliseconds, Exception exception);
277public static void HealthCheckPublisherTimeout(ILogger logger, IHealthCheckPublisher publisher, TimeSpan duration) =>
281private static partial void HealthCheckPublisherTimeout(ILogger logger, IHealthCheckPublisher HealthCheckPublisher, double ElapsedMilliseconds);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (3)
Microsoft.Extensions.Diagnostics.Probes (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (9)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (2)
Microsoft.Extensions.Diagnostics.Testing (5)
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Microsoft.Extensions.Hosting (11)
Microsoft.Extensions.Hosting.Systemd (1)
Microsoft.Extensions.Hosting.Testing (3)
Microsoft.Extensions.Hosting.Testing.Tests (3)
Microsoft.Extensions.Hosting.WindowsServices (1)
Microsoft.Extensions.Http (44)
DefaultHttpClientFactory.cs (16)
27private readonly Lazy<ILogger> _logger;
98_logger = new Lazy<ILogger>(
326private static readonly Action<ILogger, int, Exception?> _cleanupCycleStart = LoggerMessage.Define<int>(
331private static readonly Action<ILogger, double, int, int, Exception?> _cleanupCycleEnd = LoggerMessage.Define<double, int, int>(
336private static readonly Action<ILogger, string, Exception> _cleanupItemFailed = LoggerMessage.Define<string>(
341private static readonly Action<ILogger, double, string, Exception?> _handlerExpired = LoggerMessage.Define<double, string>(
347public static void CleanupCycleStart(Lazy<ILogger> loggerLazy, int initialCount)
349if (TryGetLogger(loggerLazy, out ILogger? logger))
355public static void CleanupCycleEnd(Lazy<ILogger> loggerLazy, TimeSpan duration, int disposedCount, int finalCount)
357if (TryGetLogger(loggerLazy, out ILogger? logger))
363public static void CleanupItemFailed(Lazy<ILogger> loggerLazy, string clientName, Exception exception)
365if (TryGetLogger(loggerLazy, out ILogger? logger))
371public static void HandlerExpired(Lazy<ILogger> loggerLazy, string clientName, TimeSpan lifetime)
373if (TryGetLogger(loggerLazy, out ILogger? logger))
379private static bool TryGetLogger(Lazy<ILogger> loggerLazy, [NotNullWhen(true)] out ILogger? logger)
Logging\LogHelper.cs (14)
41private static readonly Action<ILogger, HttpMethod, string?, Exception?> _requestStart = LoggerMessage.Define<HttpMethod, string?>(
47private static readonly Action<ILogger, double, int, Exception?> _requestEnd = LoggerMessage.Define<double, int>(
52private static readonly Action<ILogger, double, Exception?> _requestFailed = LoggerMessage.Define<double>(
57private static readonly Func<ILogger, HttpMethod, string?, IDisposable?> _beginRequestPipelineScope = LoggerMessage.DefineScope<HttpMethod, string?>("HTTP {HttpMethod} {Uri}");
59private static readonly Action<ILogger, HttpMethod, string?, Exception?> _requestPipelineStart = LoggerMessage.Define<HttpMethod, string?>(
64private static readonly Action<ILogger, double, int, Exception?> _requestPipelineEnd = LoggerMessage.Define<double, int>(
69private static readonly Action<ILogger, double, Exception?> _requestPipelineFailed = LoggerMessage.Define<double>(
95public static void LogRequestStart(this ILogger logger, HttpRequestMessage request, Func<string, bool> shouldRedactHeaderValue)
114public static void LogRequestEnd(this ILogger logger, HttpResponseMessage response, TimeSpan duration, Func<string, bool> shouldRedactHeaderValue)
129public static void LogRequestFailed(this ILogger logger, TimeSpan duration, HttpRequestException exception) =>
132public static IDisposable? BeginRequestPipelineScope(this ILogger logger, HttpRequestMessage request, out string? formattedUri)
138public static void LogRequestPipelineStart(this ILogger logger, HttpRequestMessage request, string? formattedUri, Func<string, bool> shouldRedactHeaderValue)
153public static void LogRequestPipelineEnd(this ILogger logger, HttpResponseMessage response, TimeSpan duration, Func<string, bool> shouldRedactHeaderValue)
168public static void LogRequestPipelineFailed(this ILogger logger, TimeSpan duration, HttpRequestException exception) =>
Microsoft.Extensions.Http.Diagnostics (7)
Logging\Internal\Log.cs (7)
38public static void OutgoingRequest(ILogger logger, LogLevel level, LogRecord record)
43public static void OutgoingRequestError(ILogger logger, LogRecord record, Exception exception)
50ILogger logger,
58ILogger logger,
66ILogger logger,
74ILogger logger,
83ILogger logger, LogLevel level, int eventId, string eventName, LogRecord record, Exception? exception = null)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (1)
Microsoft.Extensions.Identity.Core (6)
Microsoft.Extensions.Localization (6)
Microsoft.Extensions.Localization.Tests (7)
Microsoft.Extensions.Logging (21)
Logger.cs (3)
52static void LoggerLog(LogLevel logLevel, EventId eventId, ILogger logger, Exception? exception, Func<TState, Exception?, string> formatter, ref List<Exception>? exceptions, in TState state)
97static bool LoggerIsEnabled(LogLevel logLevel, ILogger logger, ref List<Exception>? exceptions)
189static MessageLogger? FirstOrNull(MessageLogger[]? messageLoggers, ILogger logger)
Microsoft.Extensions.Logging.Abstractions (113)
LoggerExtensions.cs (58)
20/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
30public static void LogDebug(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
38/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
47public static void LogDebug(this ILogger logger, EventId eventId, string? message, params object?[] args)
55/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
64public static void LogDebug(this ILogger logger, Exception? exception, string? message, params object?[] args)
72/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
80public static void LogDebug(this ILogger logger, string? message, params object?[] args)
90/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
100public static void LogTrace(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
108/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
117public static void LogTrace(this ILogger logger, EventId eventId, string? message, params object?[] args)
125/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
134public static void LogTrace(this ILogger logger, Exception? exception, string? message, params object?[] args)
142/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
150public static void LogTrace(this ILogger logger, string? message, params object?[] args)
160/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
170public static void LogInformation(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
178/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
187public static void LogInformation(this ILogger logger, EventId eventId, string? message, params object?[] args)
195/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
204public static void LogInformation(this ILogger logger, Exception? exception, string? message, params object?[] args)
212/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
220public static void LogInformation(this ILogger logger, string? message, params object?[] args)
230/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
240public static void LogWarning(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
248/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
257public static void LogWarning(this ILogger logger, EventId eventId, string? message, params object?[] args)
265/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
274public static void LogWarning(this ILogger logger, Exception? exception, string? message, params object?[] args)
282/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
290public static void LogWarning(this ILogger logger, string? message, params object?[] args)
300/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
310public static void LogError(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
318/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
327public static void LogError(this ILogger logger, EventId eventId, string? message, params object?[] args)
335/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
344public static void LogError(this ILogger logger, Exception? exception, string? message, params object?[] args)
352/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
360public static void LogError(this ILogger logger, string? message, params object?[] args)
370/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
380public static void LogCritical(this ILogger logger, EventId eventId, Exception? exception, string? message, params object?[] args)
388/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
397public static void LogCritical(this ILogger logger, EventId eventId, string? message, params object?[] args)
405/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
414public static void LogCritical(this ILogger logger, Exception? exception, string? message, params object?[] args)
422/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
430public static void LogCritical(this ILogger logger, string? message, params object?[] args)
438/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
442public static void Log(this ILogger logger, LogLevel logLevel, string? message, params object?[] args)
450/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
455public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, string? message, params object?[] args)
463/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
468public static void Log(this ILogger logger, LogLevel logLevel, Exception? exception, string? message, params object?[] args)
476/// <param name="logger">The <see cref="ILogger"/> to write to.</param>
482public static void Log(this ILogger logger, LogLevel logLevel, EventId eventId, Exception? exception, string? message, params object?[] args)
494/// <param name="logger">The <see cref="ILogger"/> to create the scope in.</param>
504this ILogger logger,
LoggerMessage.cs (28)
21public static Func<ILogger, IDisposable?> DefineScope(string formatString)
36public static Func<ILogger, T1, IDisposable?> DefineScope<T1>(string formatString)
50public static Func<ILogger, T1, T2, IDisposable?> DefineScope<T1, T2>(string formatString)
65public static Func<ILogger, T1, T2, T3, IDisposable?> DefineScope<T1, T2, T3>(string formatString)
81public static Func<ILogger, T1, T2, T3, T4, IDisposable?> DefineScope<T1, T2, T3, T4>(string formatString)
98public static Func<ILogger, T1, T2, T3, T4, T5, IDisposable?> DefineScope<T1, T2, T3, T4, T5>(string formatString)
116public static Func<ILogger, T1, T2, T3, T4, T5, T6, IDisposable?> DefineScope<T1, T2, T3, T4, T5, T6>(string formatString)
130public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString)
141public static Action<ILogger, Exception?> Define(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
145void Log(ILogger logger, Exception? exception)
172public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString)
184public static Action<ILogger, T1, Exception?> Define<T1>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
188void Log(ILogger logger, T1 arg1, Exception? exception)
216public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString)
229public static Action<ILogger, T1, T2, Exception?> Define<T1, T2>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
233void Log(ILogger logger, T1 arg1, T2 arg2, Exception? exception)
262public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString)
276public static Action<ILogger, T1, T2, T3, Exception?> Define<T1, T2, T3>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
280void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, Exception? exception)
310public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString)
325public static Action<ILogger, T1, T2, T3, T4, Exception?> Define<T1, T2, T3, T4>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
329void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, Exception? exception)
360public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString)
376public static Action<ILogger, T1, T2, T3, T4, T5, Exception?> Define<T1, T2, T3, T4, T5>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
380void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, Exception? exception)
412public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString)
429public static Action<ILogger, T1, T2, T3, T4, T5, T6, Exception?> Define<T1, T2, T3, T4, T5, T6>(LogLevel logLevel, EventId eventId, string formatString, LogDefineOptions? options)
433void Log(ILogger logger, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, Exception? exception)
Microsoft.Extensions.Logging.AzureAppServices (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.Debug (1)
Microsoft.Extensions.Logging.EventLog (1)
Microsoft.Extensions.Logging.EventSource (1)
Microsoft.Extensions.Logging.TraceSource (2)
Microsoft.Extensions.ML (18)
ModelLoaders\FileModelLoader.cs (8)
159private static readonly Action<ILogger, string, Exception> _fileLoadBegin = LoggerMessage.Define<string>(
164private static readonly Action<ILogger, string, double, Exception> _fileLoadEnd = LoggerMessage.Define<string, double>(
169private static readonly Action<ILogger, string, double, Exception> _fileReloadError = LoggerMessage.Define<string, double>(
174private static readonly Action<ILogger, string, double, Exception> _fileReLoad = LoggerMessage.Define<string, double>(
179public static void FileReloadBegin(ILogger logger, string filePath)
184public static void FileReloadEnd(ILogger logger, string filePath, TimeSpan duration)
189public static void FileReloadError(ILogger logger, string filePath, TimeSpan duration, Exception exception)
194public static void ReloadingFile(ILogger logger, string filePath, TimeSpan duration)
ModelLoaders\UriModelLoader.cs (9)
31private readonly ILogger _logger;
193private static readonly Action<ILogger, Uri, Exception> _uriReloadBegin = LoggerMessage.Define<Uri>(
198private static readonly Action<ILogger, Uri, double, Exception> _uriReloadEnd = LoggerMessage.Define<Uri, double>(
203private static readonly Action<ILogger, Uri, double, Exception> _uriReloadError = LoggerMessage.Define<Uri, double>(
208private static readonly Action<ILogger, Uri, Exception> _uriLoadError = LoggerMessage.Define<Uri>(
213public static void UriReloadBegin(ILogger logger, Uri uri)
218public static void UriReloadEnd(ILogger logger, Uri uri, TimeSpan duration)
223public static void UriReloadError(ILogger logger, Uri uri, TimeSpan duration, Exception exception)
228public static void UriLoadError(ILogger logger, Uri uri, Exception exception)
Microsoft.Extensions.ServiceDiscovery (17)
Configuration\ConfigurationServiceEndpointProvider.Log.cs (6)
14public static partial void SkippedResolution(ILogger logger, string serviceName, string reason);
17public static partial void UsingConfigurationPath(ILogger logger, string path, string endpointName, string serviceName);
20internal static partial void ServiceConfigurationNotFound(ILogger logger, string serviceName, string path);
23internal static partial void ConfiguredEndpoints(ILogger logger, string serviceName, string path, string configuredEndpoints);
25internal static void ConfiguredEndpoints(ILogger logger, string serviceName, string path, IList<ServiceEndpoint> endpoints, int added)
48internal static partial void EndpointConfigurationNotFound(ILogger logger, string endpointName, string serviceName, string path);
Microsoft.Extensions.ServiceDiscovery.Dns (7)
Microsoft.Extensions.Telemetry (6)
Microsoft.Extensions.Telemetry.Abstractions (1)
Microsoft.Extensions.Telemetry.PerformanceTests (19)
Microsoft.Extensions.Telemetry.Tests (27)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.Logging.Generated.Tests (215)
test\Generators\Microsoft.Gen.Logging\TestClasses\ArgTestExtensions.cs (10)
12public static partial void Method1(ILogger logger);
15public static partial void Method2(ILogger logger, string p1);
18public static partial void Method3(ILogger logger, string p1, int p2);
21public static partial void Method4(ILogger logger, InvalidOperationException p1);
24public static partial void Method5(ILogger logger, System.InvalidOperationException p1, System.InvalidOperationException p2);
27public static partial void Method6(ILogger logger, System.InvalidOperationException p1, int p2);
30public static partial void Method7(ILogger logger, int p1, System.InvalidOperationException p2);
34public static partial void Method8(ILogger logger, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
37public static partial void Method9(ILogger logger, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
41public static partial void Method10(ILogger logger, int p1);
test\Generators\Microsoft.Gen.Logging\TestClasses\AtSymbolsTestExtensions.cs (10)
19internal static partial void M0(ILogger logger, string @event);
22internal static partial void M1(ILogger logger, [PrivateData] string @myevent1);
25public static partial void UseAtSymbol3(ILogger logger, LogLevel level, string @myevent2, int otherevent);
28public static partial void UseAtSymbol4(ILogger logger, LogLevel level, string @myevent3, int otherevent, System.Exception ex);
31internal static partial void M2(ILogger logger, LogLevel level, string @event);
34internal static partial void M3(ILogger logger, LogLevel level, [LogProperties] SpecialNames @event);
37internal static partial void M4(ILogger logger, string @class);
40internal static partial void M5(ILogger logger, LogLevel level, [LogProperties(OmitReferenceName = true)] SpecialNames @event);
43internal static partial void M6(ILogger logger, string @class);
46internal static partial void M7(ILogger logger, string param);
test\Generators\Microsoft.Gen.Logging\TestClasses\AttributeTestExtensions.cs (11)
14public static partial void M0(ILogger logger, [In] string p0);
17public static partial void M1(ILogger logger, [PrivateData] string p0, string p1);
20public static partial void M2(ILogger logger, [PrivateData] string p0, [In] string p1);
24ILogger logger,
32ILogger logger,
41ILogger logger,
56public static partial void M6(ILogger logger, LogLevel level,
60public static partial void M7(ILogger logger, LogLevel level,
64public static partial void M8(ILogger logger, [PrivateData] int p0);
67public static partial void M9(ILogger logger, [PrivateData] CustomToStringTestClass p0);
70public static partial void M10(ILogger logger, [PrivateData] NonFormattable p0);
test\Generators\Microsoft.Gen.Logging\TestClasses\CollectionTestExtensions.cs (10)
11public static partial void M0(ILogger logger);
14public static partial void M1(ILogger logger, int p0);
17public static partial void M2(ILogger logger, int p0, int p1);
20public static partial void M3(ILogger logger, int p0, int p1, int p2);
23public static partial void M4(ILogger logger, int p0, int p1, int p2, int p3);
26public static partial void M5(ILogger logger, int p0, int p1, int p2, int p3, int p4);
29public static partial void M6(ILogger logger, int p0, int p1, int p2, int p3, int p4, int p5);
33public static partial void M7(ILogger logger, int p0, int p1, int p2, int p3, int p4, int p5, int p6);
36public static partial void M8(ILogger logger, int p0, int p1, int p2, int p3, int p4, int p5, int p6, int p7);
40public static partial void M9(ILogger logger, LogLevel level, int p0, System.Exception ex, int p1);
test\Generators\Microsoft.Gen.Logging\TestClasses\ConstructorVariationsTestExtensions.cs (9)
11public static partial void M0(ILogger logger, string p0);
14public static partial void M1(ILogger logger, LogLevel level, string p0);
17public static partial void M2(ILogger logger, string p0);
20public static partial void M3(ILogger logger, LogLevel level, string p0);
23public static partial void M4(ILogger logger, string p0);
26public static partial void M5(ILogger logger, LogLevel level, string p0);
29public static partial void M6(ILogger logger, string p0);
32public static partial void M7(ILogger logger, LogLevel level, string p0);
35public static partial void M8(ILogger logger, string p0);
test\Generators\Microsoft.Gen.Logging\TestClasses\EnumerableTestExtensions.cs (15)
13public static partial void M0(ILogger logger);
16public static partial void M1(ILogger logger, IEnumerable<int> p0);
19public static partial void M2(ILogger logger, int p0, IEnumerable<int> p1);
22public static partial void M3(ILogger logger, int p0, IEnumerable<int> p1, int p2);
25public static partial void M4(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3);
28public static partial void M5(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3, int p4);
31public static partial void M6(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3, int p4, int p5);
36public static partial void M7(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3, int p4, int p5, int p6);
39public static partial void M8(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3, int p4, int p5, int p6, int p7);
42public static partial void M9(ILogger logger, int p0, IEnumerable<int> p1, int p2, int p3, int p4, int p5, int p6, int p7, int p8);
45public static partial void M10(ILogger logger, IEnumerable<int> p1, int[] p2, Dictionary<string, int> p3);
48public static partial void M11(ILogger logger, IEnumerable<int>? p1);
51public static partial void M12(ILogger logger, IEnumerable<int>? @class);
54public static partial void M13(ILogger logger, StructEnumerable p1);
57public static partial void M14(ILogger logger, StructEnumerable? p1);
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesExtensions.cs (8)
215public static partial void LogFunc(ILogger logger, string classToLog_StringProperty_1, [LogProperties] MyDerivedClass classToLog);
228public static partial void LogMethodTwoParams(ILogger logger, string StringProperty, [LogProperties] ClassAsParam? complexParam);
231public static partial void LogMethodStruct(ILogger logger, [LogProperties] MyCustomStruct structParam);
234public static partial void LogMethodNullableStruct(ILogger logger, [LogProperties] in MyCustomStruct? structParam);
237public static partial void LogMethodExplicitNullableStruct(ILogger logger, [LogProperties] Nullable<MyCustomStruct> structParam);
240public static partial void LogMethodNullablePropertyInClassMatchesNonNullable(ILogger logger, [LogProperties] MyClassWithNullableProperty classWithNullablePropertyParam);
243public static partial void LogMethodDefaultAttrCtor(ILogger logger, LogLevel level, [LogProperties] ClassAsParam? complexParam);
246public static partial void LogMethodInterfaceArg(ILogger logger, [LogProperties] IMyInterface complexParam);
test\Generators\Microsoft.Gen.Logging\TestClasses\MessageTestExtensions.cs (9)
11public static partial void M0(ILogger logger);
14public static partial void M1(ILogger logger);
18public static partial void M2(ILogger logger);
22public static partial void M2(ILogger logger, string p1, string p2);
25public static partial void M3(ILogger logger, string p1, int p2);
28public static partial void M4(ILogger logger, string p1, int p2, int p3);
31public static partial void M5(ILogger logger);
34public static partial void M6(ILogger logger, LogLevel logLevel, string value1, string value2);
37public static partial void M7(ILogger logger);
test\Generators\Microsoft.Gen.Logging\TestClasses\NullableTestExtensions.cs (6)
12internal static partial void M0(ILogger logger, string? p0);
15internal static partial void M1(ILogger logger, int? p0);
18internal static partial void M3(ILogger logger, [PrivateData] string? p0);
22internal static partial void M4(ILogger logger, int? p0, int? p1, int? p2, int? p3, int? p4, int? p5, int? p6, int? p7, int? p8);
25internal static partial void M5(ILogger logger, string? p0, string? p1, string? p2, string? p3, string? p4, string? p5, string? p6, string? p7, string? p8);
29internal static partial void M6(ILogger? logger, [PrivateData] string? p0);
test\Generators\Microsoft.Gen.Logging\TestClasses\SignatureTestExtensions.cs (14)
14internal static partial void M11(this ILogger logger);
18internal static partial void M2(ILogger logger, string p1, string p2 = "World");
22internal static partial void M3(ILogger logger, string helper);
30public static void Combo(ILogger logger, ILogger<int> logger2)
46public static partial void M1(ILogger logger);
50internal static partial void M2(ILogger logger);
54private static partial void M3(ILogger logger);
62private static partial void M5(ILogger logger, System.Collections.IEnumerable items);
66private static partial void M6(ILogger logger);
70private static partial void M7(ILogger logger, T p1);
74private protected static partial void M8(ILogger logger);
78protected internal static partial void M9(ILogger logger);
82internal static partial void M10(ILogger logger, string? optional);
86internal static partial void M11(ILogger logger, string p1, LogLevel level, string p2);
test\Generators\Microsoft.Gen.Logging\TestClasses\TemplateTestExtensions.cs (4)
11public static partial void M0(ILogger logger, int a1);
14public static partial void M1(ILogger logger, int a1);
18public static partial void M2(ILogger logger, int a1, int a2, int a3, int a4, int a5, int a6, int a7);
22public static partial void M3(ILogger logger, int a1, int a2);
Microsoft.Gen.Logging.Unit.Tests (5)
Microsoft.Maui (9)
Microsoft.Maui.Maps (5)
Microsoft.VisualStudio.LanguageServices.DevKit (2)
SampleStartups (1)
Sandbox (1)
ServerComparison.FunctionalTests (17)
ResponseTests.cs (8)
79private async Task ResponseFormats(TestVariant variant, Func<HttpClient, ILogger, Task> scenario, [CallerMemberName] string testName = null)
86var logger = loggerFactory.CreateLogger("ResponseFormats");
126private static async Task CheckContentLengthAsync(HttpClient client, ILogger logger)
151private static async Task CheckHttp11ConnectionCloseAsync(HttpClient client, ILogger logger)
171private static async Task CheckHttp10ConnectionCloseAsync(HttpClient client, ILogger logger)
196private static async Task CheckChunkedAsync(HttpClient client, ILogger logger)
221private static async Task CheckManuallyChunkedAsync(HttpClient client, ILogger logger)
246private static async Task CheckManuallyChunkedAndCloseAsync(HttpClient client, ILogger logger)
Sockets.BindTests (3)
Sockets.FunctionalTests (5)
Stress.ApiService (2)
Stress.AppHost (1)
SystemdTestApp (1)
Templates.Blazor.Tests (4)
Templates.Blazor.WebAssembly.Auth.Tests (4)
Templates.Blazor.WebAssembly.Tests (4)
Templates.Mvc.Tests (4)
Templates.Tests (4)
TestProject.AppHost (1)
WebPubSubWeb (1)