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

namespace Microsoft.AspNetCore.HostFiltering
{
    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?> __WildcardDetectedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, "WildcardDetected"), "Wildcard detected, all requests with hosts will be allowed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Wildcard detected, all requests with hosts will be allowed.</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 WildcardDetected(this global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __WildcardDetectedCallback(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?> __AllowedHostsCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "AllowedHosts"), "Allowed hosts: {Hosts}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Allowed hosts: {Hosts}</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 AllowedHosts(this global::Microsoft.Extensions.Logging.ILogger logger, string hosts)
        {
            __AllowedHostsCallback(logger, hosts, 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?> __AllHostsAllowedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(2, "AllHostsAllowed"), "All hosts are allowed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> All hosts are allowed.</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 AllHostsAllowed(this global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __AllHostsAllowedCallback(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?> __RequestRejectedMissingHostCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(3, "RequestRejectedMissingHost"), "{Protocol} request rejected due to missing or empty host header.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> {Protocol} request rejected due to missing or empty host header.</para>
        /// <para><b>Level:</b> Information</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void RequestRejectedMissingHost(this global::Microsoft.Extensions.Logging.ILogger logger, string protocol)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
            {
                __RequestRejectedMissingHostCallback(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, string, global::System.Exception?> __RequestAllowedMissingHostCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "RequestAllowedMissingHost"), "{Protocol} request allowed with missing or empty host header.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> {Protocol} request allowed with missing or empty host header.</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 RequestAllowedMissingHost(this global::Microsoft.Extensions.Logging.ILogger logger, string protocol)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __RequestAllowedMissingHostCallback(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, string, global::System.Exception?> __AllowedHostMatchedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(5, "AllowedHostMatched"), "The host '{Host}' matches an allowed host.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> The host &apos;{Host}&apos; matches an allowed host.</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 AllowedHostMatched(this global::Microsoft.Extensions.Logging.ILogger logger, string host)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
            {
                __AllowedHostMatchedCallback(logger, host, 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?> __NoAllowedHostMatchedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(6, "NoAllowedHostMatched"), "The host '{Host}' does not match an allowed host.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> The host &apos;{Host}&apos; does not match an allowed host.</para>
        /// <para><b>Level:</b> Information</para>
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.27135")]
        public static partial void NoAllowedHostMatched(this global::Microsoft.Extensions.Logging.ILogger logger, string host)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
            {
                __NoAllowedHostMatchedCallback(logger, host, 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?> __MiddlewareConfigurationStartedCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "MiddlewareConfigurationStarted"), "Middleware configuration started with options: {Options}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Middleware configuration started with options: {Options}</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 MiddlewareConfigurationStarted(this global::Microsoft.Extensions.Logging.ILogger logger, string options)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __MiddlewareConfigurationStartedCallback(logger, options, null);
            }
        }
    }
}