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

namespace Microsoft.AspNetCore.Mvc.Cors
{
    partial class CorsLoggerExtensions
    {
        [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.Type, global::System.Exception?> __NotMostEffectiveFilterCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Type>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "NotMostEffectiveFilter"), "Skipping the execution of current filter as its not the most effective filter implementing the policy {FilterPolicy}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Skipping the execution of current filter as its not the most effective filter implementing the policy {FilterPolicy}.</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 NotMostEffectiveFilter(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Type filterPolicy)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __NotMostEffectiveFilterCallback(logger, filterPolicy, null);
            }
        }
    }
}