File: _generated\0\LoggerMessage.g.cs
Web Access
Project: src\src\aspnetcore\src\SignalR\server\Core\src\Microsoft.AspNetCore.SignalR.Core.csproj (Microsoft.AspNetCore.SignalR.Core)
// <auto-generated/>
#nullable enable

namespace Microsoft.AspNetCore.SignalR
{
    partial class HubConnectionContext
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __HandshakeCompleteCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "HandshakeComplete"), "Completed connection handshake. Using HubProtocol '{Protocol}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Completed connection handshake. Using HubProtocol &apos;{Protocol}&apos;.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void HandshakeComplete(global::Microsoft.Extensions.Logging.ILogger logger, string protocol)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __HandshakeCompleteCallback(logger, protocol, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HandshakeCanceledCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "HandshakeCanceled"), "Handshake was canceled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Handshake was canceled.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void HandshakeCanceled(global::Microsoft.Extensions.Logging.ILogger logger)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __HandshakeCanceledCallback(logger, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __SentPingCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(3, "SentPing"), "Sent a ping message to the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Sent a ping message to the client.</para>
            /// <para><b>Level:</b> Trace</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void SentPing(global::Microsoft.Extensions.Logging.ILogger logger)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
                {
                    __SentPingCallback(logger, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __TransportBufferFullCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "TransportBufferFull"), "Unable to send Ping message to client, the transport buffer is full.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Unable to send Ping message to client, the transport buffer is full.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void TransportBufferFull(global::Microsoft.Extensions.Logging.ILogger logger)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __TransportBufferFullCallback(logger, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __HandshakeFailedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "HandshakeFailed"), "Failed connection handshake.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Failed connection handshake.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void HandshakeFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception? exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __HandshakeFailedCallback(logger, exception);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedWritingMessageCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(6, "FailedWritingMessage"), "Failed writing message. Aborting connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Failed writing message. Aborting connection.</para>
            /// <para><b>Level:</b> Error</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void FailedWritingMessage(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
                {
                    __FailedWritingMessageCallback(logger, exception);
                }
            }
            /// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
            private readonly struct __ProtocolVersionFailedStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
            {
                private readonly string _protocol;
                private readonly int _version;

                public __ProtocolVersionFailedStruct(string protocol, int version)
                {
                    this._protocol = protocol;
                    this._version = version;

                }

                public override string ToString()
                {
                    var Version = this._version;
                    var Protocol = this._protocol;

                    return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Server does not support version {Version} of the {Protocol} protocol.");
                }

                public static readonly global::System.Func<__ProtocolVersionFailedStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();

                public int Count => 3;

                public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
                {
                    get => index switch
                    {
                        0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Protocol", this._protocol),
                        1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Version", this._version),
                        2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Server does not support version {Version} of the {Protocol} protocol."),

                        _ => throw new global::System.IndexOutOfRangeException(),  // return the same exception LoggerMessage.Define returns in this case
                    };
            }

                public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
                {
                    for (int i = 0; i < 3; i++)
                    {
                        yield return this[i];
                    }
                }

                global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
            }

            /// <summary>
            /// <para><b>Message:</b> Server does not support version {Version} of the {Protocol} protocol.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void ProtocolVersionFailed(global::Microsoft.Extensions.Logging.ILogger logger, string protocol, int version)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    logger.Log(
                        global::Microsoft.Extensions.Logging.LogLevel.Debug,
                        new global::Microsoft.Extensions.Logging.EventId(7, "ProtocolVersionFailed"),
                        new __ProtocolVersionFailedStruct(protocol, version),
                        null,
                        __ProtocolVersionFailedStruct.Format);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AbortFailedCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(8, "AbortFailed"), "Abort callback failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Abort callback failed.</para>
            /// <para><b>Level:</b> Trace</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void AbortFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
                {
                    __AbortFailedCallback(logger, exception);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.TimeSpan, global::System.Exception?> __ClientTimeoutCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.TimeSpan>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "ClientTimeout"), "Client timeout ({ClientTimeout}ms) elapsed without receiving a message from the client. Closing connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Client timeout ({ClientTimeout}ms) elapsed without receiving a message from the client. Closing connection.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void ClientTimeout(global::Microsoft.Extensions.Logging.ILogger logger, global::System.TimeSpan clientTimeout)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __ClientTimeoutCallback(logger, clientTimeout, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __HandshakeSizeLimitExceededCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "HandshakeSizeLimitExceeded"), "The maximum message size of {MaxMessageSize}B was exceeded while parsing the Handshake. The message size can be configured in AddHubOptions.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> The maximum message size of {MaxMessageSize}B was exceeded while parsing the Handshake. The message size can be configured in AddHubOptions.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void HandshakeSizeLimitExceeded(global::Microsoft.Extensions.Logging.ILogger logger, long maxMessageSize)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __HandshakeSizeLimitExceededCallback(logger, maxMessageSize, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __DisablingReconnectCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "DisablingReconnect"), "HubProtocol '{Protocol} v{Version}' does not support Stateful Reconnect. Disabling the feature.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> HubProtocol &apos;{Protocol} v{Version}&apos; does not support Stateful Reconnect. Disabling the feature.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void DisablingReconnect(global::Microsoft.Extensions.Logging.ILogger logger, string protocol, int version)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __DisablingReconnectCallback(logger, protocol, version, null);
                }
            }
        }
    }
}
namespace Microsoft.AspNetCore.SignalR
{
    partial class HubConnectionHandlerLog
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ErrorDispatchingHubEventCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, "ErrorDispatchingHubEvent"), "Error when dispatching '{HubMethod}' on hub.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Error when dispatching &apos;{HubMethod}&apos; on hub.</para>
        /// <para><b>Level:</b> Error</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ErrorDispatchingHubEvent(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __ErrorDispatchingHubEventCallback(logger, hubMethod, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorProcessingRequestCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "ErrorProcessingRequest"), "Error when processing requests.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Error when processing requests.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ErrorProcessingRequest(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ErrorProcessingRequestCallback(logger, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AbortFailedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(3, "AbortFailed"), "Abort callback failed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Abort callback failed.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void AbortFailed(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __AbortFailedCallback(logger, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ErrorSendingCloseCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ErrorSendingClose"), "Error when sending Close message.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Error when sending Close message.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ErrorSendingClose(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ErrorSendingCloseCallback(logger, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectedStartingCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ConnectedStarting"), "OnConnectedAsync started.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> OnConnectedAsync started.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ConnectedStarting(global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ConnectedStartingCallback(logger, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __ConnectedEndingCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "ConnectedEnding"), "OnConnectedAsync ending.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> OnConnectedAsync ending.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ConnectedEnding(global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ConnectedEndingCallback(logger, null);
            }
        }
    }
}
namespace Microsoft.AspNetCore.SignalR.Internal
{
    partial class DefaultHubDispatcherLog
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage, global::System.Exception?> __ReceivedHubInvocationCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "ReceivedHubInvocation"), "Received hub invocation: {InvocationMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received hub invocation: {InvocationMessage}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ReceivedHubInvocation(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.SignalR.Protocol.InvocationMessage invocationMessage)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ReceivedHubInvocationCallback(logger, invocationMessage, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnsupportedMessageReceivedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "UnsupportedMessageReceived"), "Received unsupported message of type '{MessageType}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received unsupported message of type &apos;{MessageType}&apos;.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void UnsupportedMessageReceived(global::Microsoft.Extensions.Logging.ILogger logger, string messageType)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __UnsupportedMessageReceivedCallback(logger, messageType, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownHubMethodCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "UnknownHubMethod"), "Unknown hub method '{HubMethod}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Unknown hub method &apos;{HubMethod}&apos;.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void UnknownHubMethod(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __UnknownHubMethodCallback(logger, hubMethod, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __HubMethodNotAuthorizedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "HubMethodNotAuthorized"), "Failed to invoke '{HubMethod}' because user is unauthorized.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Failed to invoke &apos;{HubMethod}&apos; because user is unauthorized.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void HubMethodNotAuthorized(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __HubMethodNotAuthorizedCallback(logger, hubMethod, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __StreamingResultCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(6, "StreamingResult"), "InvocationId {InvocationId}: Streaming result of type '{ResultType}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> InvocationId {InvocationId}: Streaming result of type &apos;{ResultType}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static partial void StreamingResult(global::Microsoft.Extensions.Logging.ILogger logger, string invocationId, string? resultType)
        {
            __StreamingResultCallback(logger, invocationId, resultType, null);
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __SendingResultCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(7, "SendingResult"), "InvocationId {InvocationId}: Sending result of type '{ResultType}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> InvocationId {InvocationId}: Sending result of type &apos;{ResultType}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static partial void SendingResult(global::Microsoft.Extensions.Logging.ILogger logger, string? invocationId, string? resultType)
        {
            __SendingResultCallback(logger, invocationId, resultType, null);
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedInvokingHubMethodCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(8, "FailedInvokingHubMethod"), "Failed to invoke hub method '{HubMethod}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Failed to invoke hub method &apos;{HubMethod}&apos;.</para>
        /// <para><b>Level:</b> Error</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void FailedInvokingHubMethod(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __FailedInvokingHubMethodCallback(logger, hubMethod, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __HubMethodBoundCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(9, "HubMethodBound"), "'{HubName}' hub method '{HubMethod}' is bound.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> &apos;{HubName}&apos; hub method &apos;{HubMethod}&apos; is bound.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void HubMethodBound(global::Microsoft.Extensions.Logging.ILogger logger, string hubName, string hubMethod)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __HubMethodBoundCallback(logger, hubName, hubMethod, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CancelStreamCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "CancelStream"), "Canceling stream for invocation {InvocationId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Canceling stream for invocation {InvocationId}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void CancelStream(global::Microsoft.Extensions.Logging.ILogger logger, string invocationId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __CancelStreamCallback(logger, invocationId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnexpectedCancelCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(11, "UnexpectedCancel"), "CancelInvocationMessage received unexpectedly.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> CancelInvocationMessage received unexpectedly.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void UnexpectedCancel(global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __UnexpectedCancelCallback(logger, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage, global::System.Exception?> __ReceivedStreamHubInvocationCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(12, "ReceivedStreamHubInvocation"), "Received stream hub invocation: {InvocationMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received stream hub invocation: {InvocationMessage}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ReceivedStreamHubInvocation(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.SignalR.Protocol.StreamInvocationMessage invocationMessage)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ReceivedStreamHubInvocationCallback(logger, invocationMessage, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage, global::System.Exception?> __StreamingMethodCalledWithInvokeCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(13, "StreamingMethodCalledWithInvoke"), "A streaming method was invoked with a non-streaming invocation : {InvocationMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> A streaming method was invoked with a non-streaming invocation : {InvocationMessage}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void StreamingMethodCalledWithInvoke(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage invocationMessage)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __StreamingMethodCalledWithInvokeCallback(logger, invocationMessage, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage, global::System.Exception?> __NonStreamingMethodCalledWithStreamCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(14, "NonStreamingMethodCalledWithStream"), "A non-streaming method was invoked with a streaming invocation : {InvocationMessage}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> A non-streaming method was invoked with a streaming invocation : {InvocationMessage}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void NonStreamingMethodCalledWithStream(global::Microsoft.Extensions.Logging.ILogger logger, global::Microsoft.AspNetCore.SignalR.Protocol.HubMethodInvocationMessage invocationMessage)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __NonStreamingMethodCalledWithStreamCallback(logger, invocationMessage, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidReturnValueFromStreamingMethodCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(15, "InvalidReturnValueFromStreamingMethod"), "A streaming method returned a value that cannot be used to build enumerator {HubMethod}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> A streaming method returned a value that cannot be used to build enumerator {HubMethod}.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void InvalidReturnValueFromStreamingMethod(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __InvalidReturnValueFromStreamingMethodCallback(logger, hubMethod, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __ReceivedStreamItemCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(16, "ReceivedStreamItem"), "Received item for stream '{StreamId}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received item for stream &apos;{StreamId}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static partial void ReceivedStreamItem(global::Microsoft.Extensions.Logging.ILogger logger, string? streamId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __ReceivedStreamItemCallback(logger, streamId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __StartingParameterStreamCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(17, "StartingParameterStream"), "Creating streaming parameter channel '{StreamId}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Creating streaming parameter channel &apos;{StreamId}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void StartingParameterStream(global::Microsoft.Extensions.Logging.ILogger logger, string streamId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __StartingParameterStreamCallback(logger, streamId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __CompletingStreamCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(18, "CompletingStream"), "Stream '{StreamId}' has been completed by client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Stream &apos;{StreamId}&apos; has been completed by client.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static partial void CompletingStream(global::Microsoft.Extensions.Logging.ILogger logger, string? streamId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __CompletingStreamCallback(logger, streamId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, string?, global::System.Exception?> __ClosingStreamWithBindingErrorCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?, string?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(19, "ClosingStreamWithBindingError"), "Stream '{StreamId}' closed with error '{Error}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Stream &apos;{StreamId}&apos; closed with error &apos;{Error}&apos;.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static partial void ClosingStreamWithBindingError(global::Microsoft.Extensions.Logging.ILogger logger, string? streamId, string? error)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __ClosingStreamWithBindingErrorCallback(logger, streamId, error, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnexpectedStreamItemCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(21, "UnexpectedStreamItem"), "StreamItemMessage received unexpectedly.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> StreamItemMessage received unexpectedly.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void UnexpectedStreamItem(global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __UnexpectedStreamItemCallback(logger, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvalidHubParametersCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(22, "InvalidHubParameters"), "Parameters to hub method '{HubMethod}' are incorrect.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Parameters to hub method &apos;{HubMethod}&apos; are incorrect.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void InvalidHubParameters(global::Microsoft.Extensions.Logging.ILogger logger, string hubMethod, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __InvalidHubParametersCallback(logger, hubMethod, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __InvocationIdInUseCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(23, "InvocationIdInUse"), "Invocation ID '{InvocationId}' is already in use.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Invocation ID &apos;{InvocationId}&apos; is already in use.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void InvocationIdInUse(global::Microsoft.Extensions.Logging.ILogger logger, string InvocationId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __InvocationIdInUseCallback(logger, InvocationId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnexpectedCompletionCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(24, "UnexpectedCompletion"), "CompletionMessage for invocation ID '{InvocationId}' received unexpectedly.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> CompletionMessage for invocation ID &apos;{InvocationId}&apos; received unexpectedly.</para>
        /// <para><b>Level:</b> Debug</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void UnexpectedCompletion(global::Microsoft.Extensions.Logging.ILogger logger, string invocationId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __UnexpectedCompletionCallback(logger, invocationId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __FailedStreamingCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(25, "FailedStreaming"), "Invocation ID {InvocationId}: Failed while sending stream items from hub method {HubMethod}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Invocation ID {InvocationId}: Failed while sending stream items from hub method {HubMethod}.</para>
        /// <para><b>Level:</b> Error</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void FailedStreaming(global::Microsoft.Extensions.Logging.ILogger logger, string invocationId, string hubMethod, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __FailedStreamingCallback(logger, invocationId, hubMethod, exception);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __DroppingMessageCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(26, "DroppingMessage"), "Dropping {MessageType} with ID '{InvocationId}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Dropping {MessageType} with ID &apos;{InvocationId}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void DroppingMessage(global::Microsoft.Extensions.Logging.ILogger logger, string messageType, string? invocationId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __DroppingMessageCallback(logger, messageType, invocationId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedAckMessageCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<long>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(27, "ReceivedAckMessage"), "Received AckMessage with Sequence ID '{SequenceId}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received AckMessage with Sequence ID &apos;{SequenceId}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ReceivedAckMessage(global::Microsoft.Extensions.Logging.ILogger logger, long sequenceId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __ReceivedAckMessageCallback(logger, sequenceId, null);
            }
        }
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, long, global::System.Exception?> __ReceivedSequenceMessageCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<long>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(28, "ReceivedSequenceMessage"), "Received SequenceMessage with Sequence ID '{SequenceId}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Received SequenceMessage with Sequence ID &apos;{SequenceId}&apos;.</para>
        /// <para><b>Level:</b> Trace</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void ReceivedSequenceMessage(global::Microsoft.Extensions.Logging.ILogger logger, long sequenceId)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __ReceivedSequenceMessageCallback(logger, sequenceId, null);
            }
        }
    }
}
namespace Microsoft.AspNetCore.SignalR.Internal
{
    partial class DefaultHubProtocolResolver
    {
        partial class Log
        {
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Type, global::System.Exception?> __RegisteredSignalRProtocolCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "RegisteredSignalRProtocol"), "Registered SignalR Protocol: {ProtocolName}, implemented by {ImplementationType}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Registered SignalR Protocol: {ProtocolName}, implemented by {ImplementationType}.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void RegisteredSignalRProtocol(global::Microsoft.Extensions.Logging.ILogger logger, string protocolName, global::System.Type implementationType)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __RegisteredSignalRProtocolCallback(logger, protocolName, implementationType, null);
                }
            }
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FoundImplementationForProtocolCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "FoundImplementationForProtocol"), "Found protocol implementation for requested protocol: {ProtocolName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> Found protocol implementation for requested protocol: {ProtocolName}.</para>
            /// <para><b>Level:</b> Debug</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void FoundImplementationForProtocol(global::Microsoft.Extensions.Logging.ILogger logger, string protocolName)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
                {
                    __FoundImplementationForProtocolCallback(logger, protocolName, null);
                }
            }
        }
    }
}