|
// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Antiforgery
{
partial class CsrfProtectionMiddleware
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.32802")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Http.PathString, string, global::System.Exception?> __RequestFailedValidationCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Http.PathString, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "CsrfValidationFailed"), "Cross-origin CSRF protection marked request {Method} {Path} from origin '{Origin}' as invalid.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Cross-origin CSRF protection marked request {Method} {Path} from origin '{Origin}' as invalid.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.32802")]
private static partial void RequestFailedValidation(global::Microsoft.Extensions.Logging.ILogger logger, string method, global::Microsoft.AspNetCore.Http.PathString path, string origin)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestFailedValidationCallback(logger, method, path, origin, null);
}
}
}
} |