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

namespace Microsoft.AspNetCore.Diagnostics
{
    partial class DeveloperExceptionPageMiddlewareLoggerExtensions
    {
        [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?> __ResponseStartedErrorPageMiddlewareCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ResponseStarted"), "The response has already started, the error page middleware will not be executed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> The response has already started, the error page middleware will not be executed.</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 ResponseStartedErrorPageMiddleware(this global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
            {
                __ResponseStartedErrorPageMiddlewareCallback(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?> __DisplayErrorPageExceptionCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(3, "DisplayErrorPageException"), "An exception was thrown attempting to display the error page.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> An exception was thrown attempting to display the error page.</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 DisplayErrorPageException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __DisplayErrorPageExceptionCallback(logger, exception);
            }
        }
    }
}
namespace Microsoft.AspNetCore.Diagnostics
{
    partial class DiagnosticsLoggerExtensions
    {
        [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?> __UnhandledExceptionCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(1, "UnhandledException"), "An unhandled exception has occurred while executing the request.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> An unhandled exception has occurred while executing the request.</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 UnhandledException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __UnhandledExceptionCallback(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?> __RequestAbortedExceptionCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "RequestAborted"), "The request was aborted by the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> The request was aborted by the client.</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 RequestAbortedException(this global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __RequestAbortedExceptionCallback(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?> __ResponseStartedErrorHandlerCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "ResponseStarted"), "The response has already started, the error handler will not be executed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> The response has already started, the error handler will not be executed.</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 ResponseStartedErrorHandler(this global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
            {
                __ResponseStartedErrorHandlerCallback(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?> __ErrorHandlerExceptionCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(3, "Exception"), "An exception was thrown attempting to execute the error handler.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> An exception was thrown attempting to execute the error handler.</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 ErrorHandlerException(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
            {
                __ErrorHandlerExceptionCallback(logger, exception);
            }
        }
    }
}
namespace Microsoft.Extensions.StackTrace.Sources
{
    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?> __FailedToReadStackTraceInfoCallback =
            global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, "FailedToReadStackTraceInfo"), "Failed to read stack trace information for exception.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });

        /// <summary>
        /// <para><b>Message:</b> Failed to read stack trace information for exception.</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 FailedToReadStackTraceInfo(this global::Microsoft.Extensions.Logging.ILogger logger, global::System.Exception exception)
        {
            if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                __FailedToReadStackTraceInfoCallback(logger, exception);
            }
        }
    }
}