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

namespace Microsoft.AspNetCore.Http
{
    partial class ResponseCookies
    {
        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?> __SameSiteCookieNotSecureCallback =
                global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "SameSiteNotSecure"), "The cookie '{name}' has set 'SameSite=None' and must also set 'Secure'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

            /// <summary>
            /// <para><b>Message:</b> The cookie &apos;{name}&apos; has set &apos;SameSite=None&apos; and must also set &apos;Secure&apos;.</para>
            /// <para><b>Level:</b> Warning</para>
            /// </summary>
            [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
            public static partial void SameSiteCookieNotSecure(global::Microsoft.Extensions.Logging.ILogger logger, string name)
            {
                if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
                {
                    __SameSiteCookieNotSecureCallback(logger, name, null);
                }
            }
        }
    }
}
namespace Microsoft.AspNetCore.Http.Timeouts
{
    partial class LoggerExtensions
    {
        [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?> __TimeoutExceptionHandledCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, nameof(TimeoutExceptionHandled)), "Timeout exception handled.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Timeout exception handled.</para>
        /// <para><b>Level:</b> Warning</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void TimeoutExceptionHandled(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
            {
                __TimeoutExceptionHandledCallback(logger, exception);
            }
        }
    }
}