// <auto-generated/> #nullable enable namespace Microsoft.AspNetCore.Http.Connections.Client { partial class HttpConnection { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "Starting"), "Starting HttpConnection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting HttpConnection.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void Starting(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __StartingCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SkippingStartCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "SkippingStart"), "Skipping start, connection is already started.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping start, connection is already started.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SkippingStart(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SkippingStartCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "Started"), "HttpConnection Started.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> HttpConnection Started.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void Started(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __StartedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DisposingHttpConnectionCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "DisposingHttpConnection"), "Disposing HttpConnection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Disposing HttpConnection.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void DisposingHttpConnection(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __DisposingHttpConnectionCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SkippingDisposeCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "SkippingDispose"), "Skipping dispose, connection is already disposed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping dispose, connection is already disposed.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SkippingDispose(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SkippingDisposeCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DisposedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "Disposed"), "HttpConnection Disposed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> HttpConnection Disposed.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void Disposed(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __DisposedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Uri, global::System.Exception?> __StartingTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "StartingTransport"), "Starting transport '{Transport}' with Url: {Url}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting transport '{Transport}' with Url: {Url}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static partial void StartingTransport(global::Microsoft.Extensions.Logging.ILogger logger, string transport, global::System.Uri url) { __StartingTransportCallback(logger, transport, url, null); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __EstablishingConnectionCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "EstablishingConnection"), "Establishing connection with server at '{Url}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Establishing connection with server at '{Url}'.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void EstablishingConnection(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri url) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __EstablishingConnectionCallback(logger, url, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionEstablishedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "Established"), "Established connection '{ConnectionId}' with the server.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Established connection '{ConnectionId}' with the server.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ConnectionEstablished(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ConnectionEstablishedCallback(logger, connectionId, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __ErrorWithNegotiationCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(10, "ErrorWithNegotiation"), "Failed to start connection. Error getting negotiation response from '{Url}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Failed to start connection. Error getting negotiation response from '{Url}'.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorWithNegotiation(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri url, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorWithNegotiationCallback(logger, url, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __ErrorStartingTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Connections.HttpTransportType>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(11, "ErrorStartingTransport"), "Failed to start connection. Error starting transport '{Transport}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Failed to start connection. Error starting transport '{Transport}'.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorStartingTransport(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType transport, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorStartingTransportCallback(logger, transport, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TransportNotSupportedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "TransportNotSupported"), "Skipping transport {TransportName} because it is not supported by this client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping transport {TransportName} because it is not supported by this client.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportNotSupported(global::Microsoft.Extensions.Logging.ILogger logger, string transportName) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportNotSupportedCallback(logger, transportName, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __TransportDoesNotSupportTransferFormatCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(13, "TransportDoesNotSupportTransferFormat"), "Skipping transport {TransportName} because it does not support the requested transfer format '{TransferFormat}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping transport {TransportName} because it does not support the requested transfer format '{TransferFormat}'.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static partial void TransportDoesNotSupportTransferFormat(global::Microsoft.Extensions.Logging.ILogger logger, string transportName, string transferFormat) { __TransportDoesNotSupportTransferFormatCallback(logger, transportName, transferFormat, null); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TransportDisabledByClientCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(14, "TransportDisabledByClient"), "Skipping transport {TransportName} because it was disabled by the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping transport {TransportName} because it was disabled by the client.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportDisabledByClient(global::Microsoft.Extensions.Logging.ILogger logger, string transportName) { __TransportDisabledByClientCallback(logger, transportName, null); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __TransportFailedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(15, "TransportFailed"), "Skipping transport {TransportName} because it failed to initialize.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping transport {TransportName} because it failed to initialize.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportFailed(global::Microsoft.Extensions.Logging.ILogger logger, string transportName, global::System.Exception ex) { __TransportFailedCallback(logger, transportName, ex); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __WebSocketsNotSupportedByOperatingSystemCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(16, "WebSocketsNotSupportedByOperatingSystem"), "Skipping WebSockets because they are not supported by the operating system.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping WebSockets because they are not supported by the operating system.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void WebSocketsNotSupportedByOperatingSystem(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __WebSocketsNotSupportedByOperatingSystemCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportThrewExceptionOnStopCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(17, "TransportThrewExceptionOnStop"), "The transport threw an exception while stopping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> The transport threw an exception while stopping.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportThrewExceptionOnStop(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception ex) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __TransportThrewExceptionOnStopCallback(logger, ex); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __TransportStartedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Connections.HttpTransportType>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(18, "TransportStarted"), "Transport '{Transport}' started.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport '{Transport}' started.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStarted(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType transport) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportStartedCallback(logger, transport, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ServerSentEventsNotSupportedByBrowserCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(19, "ServerSentEventsNotSupportedByBrowser"), "Skipping ServerSentEvents because they are not supported by the browser.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Skipping ServerSentEvents because they are not supported by the browser.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ServerSentEventsNotSupportedByBrowser(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ServerSentEventsNotSupportedByBrowserCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CookiesNotSupportedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(20, "CookiesNotSupported"), "Cookies are not supported on this platform.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Cookies are not supported on this platform.</para> /// <para><b>Level:</b> Trace</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void CookiesNotSupported(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace)) { __CookiesNotSupportedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.HttpStatusCode, global::System.Exception?> __RetryAccessTokenCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.HttpStatusCode>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(21, "RetryAccessToken"), "{StatusCode} received, getting a new access token and retrying request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> {StatusCode} received, getting a new access token and retrying request.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void RetryAccessToken(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.HttpStatusCode statusCode) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __RetryAccessTokenCallback(logger, statusCode, null); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class DefaultTransportFactory { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType, global::System.Exception?> __TransportNotSupportedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Http.Connections.HttpTransportType>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "TransportNotSupported"), "Transport '{TransportType}' is not supported.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport '{TransportType}' is not supported.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportNotSupported(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Http.Connections.HttpTransportType transportType, global::System.Exception ex) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportNotSupportedCallback(logger, transportType, ex); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class LoggingHttpMessageHandler { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.Http.HttpMethod, global::System.Uri, global::System.Exception?> __SendingHttpRequestCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.Http.HttpMethod, global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(1, "SendingHttpRequest"), "Sending HTTP request {RequestMethod} '{RequestUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Sending HTTP request {RequestMethod} '{RequestUrl}'.</para> /// <para><b>Level:</b> Trace</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendingHttpRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.Http.HttpMethod requestMethod, global::System.Uri requestUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace)) { __SendingHttpRequestCallback(logger, requestMethod, requestUrl, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.HttpStatusCode, global::System.Net.Http.HttpMethod, global::System.Uri, global::System.Exception?> __UnsuccessfulHttpResponseCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.HttpStatusCode, global::System.Net.Http.HttpMethod, global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "UnsuccessfulHttpResponse"), "Unsuccessful HTTP response {StatusCode} return from {RequestMethod} '{RequestUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Unsuccessful HTTP response {StatusCode} return from {RequestMethod} '{RequestUrl}'.</para> /// <para><b>Level:</b> Warning</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void UnsuccessfulHttpResponse(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.HttpStatusCode statusCode, global::System.Net.Http.HttpMethod requestMethod, global::System.Uri requestUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning)) { __UnsuccessfulHttpResponseCallback(logger, statusCode, requestMethod, requestUrl, null); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class LongPollingTransport { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Connections.TransferFormat, global::System.Exception?> __StartTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Connections.TransferFormat>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "StartTransport"), "Starting transport. Transfer mode: {TransferFormat}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting transport. Transfer mode: {TransferFormat}.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartTransport(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Connections.TransferFormat transferFormat) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __StartTransportCallback(logger, transferFormat, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "TransportStopped"), "Transport stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopped(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportStoppedCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartReceiveCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "StartReceive"), "Starting receive loop.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting receive loop.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartReceive(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __StartReceiveCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "TransportStopping"), "Transport is stopping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport is stopping.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopping(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __TransportStoppingCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ReceiveCanceled"), "Receive loop canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop canceled.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ReceiveStopped"), "Receive loop stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveStopped(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveStoppedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ClosingConnectionCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "ClosingConnection"), "The server is closing the connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> The server is closing the connection.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ClosingConnection(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ClosingConnectionCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceivedMessagesCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "ReceivedMessages"), "Received messages from the server.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Received messages from the server.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceivedMessages(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceivedMessagesCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __ErrorPollingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(9, "ErrorPolling"), "Error while polling '{PollUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Error while polling '{PollUrl}'.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorPolling(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri pollUrl, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorPollingCallback(logger, pollUrl, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, long, global::System.Exception?> __PollResponseReceivedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<int, long>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(10, "PollResponseReceived"), "Poll response with status code {StatusCode} received from server. Content length: {ContentLength}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Poll response with status code {StatusCode} received from server. Content length: {ContentLength}.</para> /// <para><b>Level:</b> Trace</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static partial void PollResponseReceived(global::Microsoft.Extensions.Logging.ILogger logger, int statusCode, long contentLength) { __PollResponseReceivedCallback(logger, statusCode, contentLength, null); } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __SendingDeleteRequestCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "SendingDeleteRequest"), "Sending DELETE request to '{PollUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Sending DELETE request to '{PollUrl}'.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendingDeleteRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri pollUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendingDeleteRequestCallback(logger, pollUrl, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __DeleteRequestAcceptedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "DeleteRequestAccepted"), "DELETE request to '{PollUrl}' accepted.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> DELETE request to '{PollUrl}' accepted.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void DeleteRequestAccepted(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri pollUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __DeleteRequestAcceptedCallback(logger, pollUrl, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __ErrorSendingDeleteRequestCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(13, "ErrorSendingDeleteRequest"), "Error sending DELETE request to '{PollUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Error sending DELETE request to '{PollUrl}'.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorSendingDeleteRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri pollUrl, global::System.Exception ex) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorSendingDeleteRequestCallback(logger, pollUrl, ex); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __ConnectionAlreadyClosedSendingDeleteRequestCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(14, "ConnectionAlreadyClosedSendingDeleteRequest"), "A 404 response was returned from sending DELETE request to '{PollUrl}', likely because the transport was already closed on the server.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> A 404 response was returned from sending DELETE request to '{PollUrl}', likely because the transport was already closed on the server.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ConnectionAlreadyClosedSendingDeleteRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri pollUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ConnectionAlreadyClosedSendingDeleteRequestCallback(logger, pollUrl, null); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class SendUtils { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendStartedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(100, "SendStarted"), "Starting the send loop.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting the send loop.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendStarted(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendStartedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(102, "SendCanceled"), "Send loop canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Send loop canceled.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(101, "SendStopped"), "Send loop stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Send loop stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendStopped(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendStoppedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Uri, global::System.Exception?> __SendingMessagesCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<long, global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(103, "SendingMessages"), "Sending {Count} bytes to the server using url: {Url}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Sending {Count} bytes to the server using url: {Url}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendingMessages(global::Microsoft.Extensions.Logging.ILogger logger, long count, global::System.Uri url) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendingMessagesCallback(logger, count, url, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SentSuccessfullyCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(104, "SentSuccessfully"), "Message(s) sent successfully.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Message(s) sent successfully.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SentSuccessfully(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SentSuccessfullyCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NoMessagesCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(105, "NoMessages"), "No messages in batch to send.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> No messages in batch to send.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void NoMessages(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __NoMessagesCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Uri, global::System.Exception?> __ErrorSendingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(106, "ErrorSending"), "Error while sending to '{Url}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Error while sending to '{Url}'.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorSending(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Uri url, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorSendingCallback(logger, url, exception); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class ServerSentEventsTransport { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Connections.TransferFormat, global::System.Exception?> __StartTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Connections.TransferFormat>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "StartTransport"), "Starting transport. Transfer mode: {TransferFormat}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting transport. Transfer mode: {TransferFormat}.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartTransport(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Connections.TransferFormat transferFormat) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __StartTransportCallback(logger, transferFormat, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "TransportStopped"), "Transport stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopped(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportStoppedCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartReceiveCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "StartReceive"), "Starting receive loop.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting receive loop.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartReceive(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __StartReceiveCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "TransportStopping"), "Transport is stopping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport is stopping.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopping(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __TransportStoppingCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __MessageToApplicationCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "MessageToApplication"), "Passing message to application. Payload size: {Count}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Passing message to application. Payload size: {Count}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void MessageToApplication(global::Microsoft.Extensions.Logging.ILogger logger, int count) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __MessageToApplicationCallback(logger, count, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ReceiveCanceled"), "Receive loop canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop canceled.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ReceiveStopped"), "Receive loop stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveStopped(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveStoppedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __EventStreamEndedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "EventStreamEnded"), "Server-Sent Event Stream ended.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Server-Sent Event Stream ended.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void EventStreamEnded(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __EventStreamEndedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ParsingSSECallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "ParsingSSE"), "Received {Count} bytes. Parsing SSE frame.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Received {Count} bytes. Parsing SSE frame.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ParsingSSE(global::Microsoft.Extensions.Logging.ILogger logger, long count) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ParsingSSECallback(logger, count, null); } } } } } namespace Microsoft.AspNetCore.Http.Connections.Client.Internal { partial class WebSocketsTransport { partial class Log { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.Connections.TransferFormat, global::System.Uri, global::System.Exception?> __StartTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.Connections.TransferFormat, global::System.Uri>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(1, "StartTransport"), "Starting transport. Transfer mode: {TransferFormat}. Url: '{WebSocketUrl}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting transport. Transfer mode: {TransferFormat}. Url: '{WebSocketUrl}'.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartTransport(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.Connections.TransferFormat transferFormat, global::System.Uri webSocketUrl) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __StartTransportCallback(logger, transferFormat, webSocketUrl, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "TransportStopped"), "Transport stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopped(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __TransportStoppedCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartReceiveCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "StartReceive"), "Starting receive loop.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting receive loop.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartReceive(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __StartReceiveCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportStoppingCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "TransportStopping"), "Transport is stopping.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Transport is stopping.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void TransportStopping(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __TransportStoppingCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __MessageToAppCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "MessageToApp"), "Passing message to application. Payload size: {Count}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Passing message to application. Payload size: {Count}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void MessageToApp(global::Microsoft.Extensions.Logging.ILogger logger, int count) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __MessageToAppCallback(logger, count, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ReceiveCanceled"), "Receive loop canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop canceled.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ReceiveStopped"), "Receive loop stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveStopped(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveStoppedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendStartedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "SendStarted"), "Starting the send loop.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Starting the send loop.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendStarted(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendStartedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "SendCanceled"), "Send loop canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Send loop canceled.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendStoppedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "SendStopped"), "Send loop stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Send loop stopped.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendStopped(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendStoppedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.WebSockets.WebSocketCloseStatus?, global::System.Exception?> __WebSocketClosedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.WebSockets.WebSocketCloseStatus?>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(11, "WebSocketClosed"), "WebSocket closed by the server. Close status {CloseStatus}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> WebSocket closed by the server. Close status {CloseStatus}.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void WebSocketClosed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.WebSockets.WebSocketCloseStatus? closeStatus) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __WebSocketClosedCallback(logger, closeStatus, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.WebSockets.WebSocketMessageType, int, bool, global::System.Exception?> __MessageReceivedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.WebSockets.WebSocketMessageType, int, bool>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "MessageReceived"), "Message received. Type: {MessageType}, size: {Count}, EndOfMessage: {EndOfMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Message received. Type: {MessageType}, size: {Count}, EndOfMessage: {EndOfMessage}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void MessageReceived(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.WebSockets.WebSocketMessageType messageType, int count, bool endOfMessage) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __MessageReceivedCallback(logger, messageType, count, endOfMessage, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedFromAppCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define<long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(13, "ReceivedFromApp"), "Received message from application. Payload size: {Count}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Received message from application. Payload size: {Count}.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceivedFromApp(global::Microsoft.Extensions.Logging.ILogger logger, long count) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceivedFromAppCallback(logger, count, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendMessageCanceledCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(14, "SendMessageCanceled"), "Sending a message canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Sending a message canceled.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendMessageCanceled(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __SendMessageCanceledCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorSendingMessageCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(15, "ErrorSendingMessage"), "Error while sending a message.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Error while sending a message.</para> /// <para><b>Level:</b> Error</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ErrorSendingMessage(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error)) { __ErrorSendingMessageCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ClosingWebSocketCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(16, "ClosingWebSocket"), "Closing WebSocket.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Closing WebSocket.</para> /// <para><b>Level:</b> Information</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ClosingWebSocket(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information)) { __ClosingWebSocketCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ClosingWebSocketFailedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(17, "ClosingWebSocketFailed"), "Closing webSocket failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Closing webSocket failed.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ClosingWebSocketFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ClosingWebSocketFailedCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __CancelMessageCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(18, "CancelMessage"), "Canceled passing message to application.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Canceled passing message to application.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void CancelMessage(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __CancelMessageCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __StartedTransportCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(19, "StartedTransport"), "Started transport.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Started transport.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void StartedTransport(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __StartedTransportCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HeadersNotSupportedCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(20, "HeadersNotSupported"), "Configuring request headers using HttpConnectionOptions.Headers is not supported when using websockets transport on the browser platform.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Configuring request headers using HttpConnectionOptions.Headers is not supported when using websockets transport on the browser platform.</para> /// <para><b>Level:</b> Warning</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void HeadersNotSupported(global::Microsoft.Extensions.Logging.ILogger logger) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning)) { __HeadersNotSupportedCallback(logger, null); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ReceiveErroredCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(21, "ReceiveErrored"), "Receive loop errored.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Receive loop errored.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void ReceiveErrored(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __ReceiveErroredCallback(logger, exception); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SendErroredCallback = global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(22, "SendErrored"), "Send loop errored.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true }); /// <summary> /// <para><b>Message:</b> Send loop errored.</para> /// <para><b>Level:</b> Debug</para> /// </summary> [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "12.0.14.46214")] public static partial void SendErrored(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception) { if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug)) { __SendErroredCallback(logger, exception); } } } } }