|
// <auto-generated/>
#nullable enable
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal
{
partial class CertificatePathWatcherLoggerExtensions
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __DirectoryDoesNotExistCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(1, "DirectoryDoesNotExist"), "Directory '{Directory}' does not exist so changes to the certificate '{Path}' will not be tracked.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Directory '{Directory}' does not exist so changes to the certificate '{Path}' will not be tracked.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void DirectoryDoesNotExist(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string directory, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__DirectoryDoesNotExistCallback(logger, directory, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownFileCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(2, "UnknownFile"), "Attempted to remove watch from unwatched path '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Attempted to remove watch from unwatched path '{Path}'.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void UnknownFile(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__UnknownFileCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UnknownObserverCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(3, "UnknownObserver"), "Attempted to remove unknown observer from path '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Attempted to remove unknown observer from path '{Path}'.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void UnknownObserver(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__UnknownObserverCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreatedDirectoryWatcherCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "CreatedDirectoryWatcher"), "Created directory watcher for '{Directory}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Created directory watcher for '{Directory}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CreatedDirectoryWatcher(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string directory)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__CreatedDirectoryWatcherCallback(logger, directory, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __CreatedFileWatcherCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "CreatedFileWatcher"), "Created file watcher for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Created file watcher for '{Path}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void CreatedFileWatcher(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__CreatedFileWatcherCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedDirectoryWatcherCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "RemovedDirectoryWatcher"), "Removed directory watcher for '{Directory}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Removed directory watcher for '{Directory}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RemovedDirectoryWatcher(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string directory)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RemovedDirectoryWatcherCallback(logger, directory, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedFileWatcherCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "RemovedFileWatcher"), "Removed file watcher for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Removed file watcher for '{Path}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RemovedFileWatcher(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RemovedFileWatcherCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LastModifiedTimeErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "LastModifiedTimeError"), "Error retrieving last modified time for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Error retrieving last modified time for '{Path}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void LastModifiedTimeError(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path, global::System.Exception e)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__LastModifiedTimeErrorCallback(logger, path, e);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __UntrackedFileEventCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "UntrackedFileEvent"), "Ignored event for presently untracked file '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Ignored event for presently untracked file '{Path}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void UntrackedFileEvent(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__UntrackedFileEventCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ReusedObserverCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(10, "ReusedObserver"), "Reused existing observer on file watcher for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Reused existing observer on file watcher for '{Path}'.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ReusedObserver(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__ReusedObserverCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __AddedObserverCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(11, "AddedObserver"), "Added observer to file watcher for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Added observer to file watcher for '{Path}'.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void AddedObserver(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__AddedObserverCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RemovedObserverCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(12, "RemovedObserver"), "Removed observer from file watcher for '{Path}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Removed observer from file watcher for '{Path}'.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RemovedObserver(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__RemovedObserverCallback(logger, path, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __ObserverCountCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(13, "ObserverCount"), "File '{Path}' now has {Count} observers.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> File '{Path}' now has {Count} observers.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ObserverCount(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path, int count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__ObserverCountCallback(logger, path, count, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __FileCountCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(14, "FileCount"), "Directory '{Directory}' now has watchers on {Count} files.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Directory '{Directory}' now has watchers on {Count} files.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FileCount(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string directory, int count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__FileCountCallback(logger, directory, count, null);
}
}
/// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __FlaggedObserversStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly string _path;
private readonly int _count;
public __FlaggedObserversStruct(string path, int count)
{
this._path = path;
this._count = count;
}
public override string ToString()
{
var Count = this._count;
var Path = this._path;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Flagged {Count} observers of '{Path}' as changed.");
}
public static readonly global::System.Func<__FlaggedObserversStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
public int Count => 3;
public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
{
get => index switch
{
0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Path", this._path),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Count", this._count),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Flagged {Count} observers of '{Path}' as changed."),
_ => throw new global::System.IndexOutOfRangeException(), // return the same exception LoggerMessage.Define returns in this case
};
}
public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
{
for (int i = 0; i < 3; i++)
{
yield return this[i];
}
}
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
}
/// <summary>
/// <para><b>Message:</b> Flagged {Count} observers of '{Path}' as changed.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FlaggedObservers(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path, int count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Trace,
new global::Microsoft.Extensions.Logging.EventId(15, "FlaggedObservers"),
new __FlaggedObserversStruct(path, count),
null,
__FlaggedObserversStruct.Format);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __EventWithoutFileCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(16, "EventWithoutFile"), "Ignored event since '{Path}' was unavailable.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Ignored event since '{Path}' was unavailable.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void EventWithoutFile(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.CertificatePathWatcher> logger, string path)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Trace))
{
__EventWithoutFileCallback(logger, path, null);
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
partial class KestrelTrace
{
partial class BadRequestsLog
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ConnectionBadRequestCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(17, "ConnectionBadRequest"), "Connection id \"{ConnectionId}\" bad request data: \"{message}\"", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" bad request data: "{message}"</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionBadRequest(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string message, global::Microsoft.AspNetCore.Http.BadHttpRequestException ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionBadRequestCallback(logger, connectionId, message, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __RequestProcessingErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(20, "RequestProcessingError"), "Connection id \"{ConnectionId}\" request processing ended abnormally.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" request processing ended abnormally.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestProcessingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestProcessingErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, double, global::System.Exception?> __RequestBodyMinimumDataRateNotSatisfiedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?, double>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(27, "RequestBodyMinimumDataRateNotSatisfied"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the request timed out because it was not sent by the client at a minimum of {Rate} bytes/second.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": the request timed out because it was not sent by the client at a minimum of {Rate} bytes/second.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyMinimumDataRateNotSatisfied(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string? traceIdentifier, double rate)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestBodyMinimumDataRateNotSatisfiedCallback(logger, connectionId, traceIdentifier, rate, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __ResponseMinimumDataRateNotSatisfiedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(28, "ResponseMinimumDataRateNotSatisfied"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the connection was closed because the response was not read by the client at the specified minimum data rate.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": the connection was closed because the response was not read by the client at the specified minimum data rate.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ResponseMinimumDataRateNotSatisfied(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string? traceIdentifier)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ResponseMinimumDataRateNotSatisfiedCallback(logger, connectionId, traceIdentifier, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, string, global::System.Exception?> __PossibleInvalidHttpVersionDetectedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(54, "PossibleInvalidHttpVersionDetected"), "Connection id \"{ConnectionId}\": Invalid content received on connection. Possible incorrect HTTP version detected. Expected {ExpectedHttpVersion} but received {DetectedHttpVersion}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": Invalid content received on connection. Possible incorrect HTTP version detected. Expected {ExpectedHttpVersion} but received {DetectedHttpVersion}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void PossibleInvalidHttpVersionDetected(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string expectedHttpVersion, string detectedHttpVersion)
{
__PossibleInvalidHttpVersionDetectedCallback(logger, connectionId, expectedHttpVersion, detectedHttpVersion, null);
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
partial class KestrelTrace
{
partial class ConnectionsLog
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionStartCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "ConnectionStart"), "Connection id \"{ConnectionId}\" started.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" started.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionStart(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionStartCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionStopCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "ConnectionStop"), "Connection id \"{ConnectionId}\" stopped.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" stopped.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionStop(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionStopCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionPauseCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(4, "ConnectionPause"), "Connection id \"{ConnectionId}\" paused.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" paused.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionPause(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionPauseCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionResumeCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "ConnectionResume"), "Connection id \"{ConnectionId}\" resumed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" resumed.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionResume(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionResumeCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionKeepAliveCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(9, "ConnectionKeepAlive"), "Connection id \"{ConnectionId}\" completed keep alive response.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" completed keep alive response.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionKeepAlive(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionKeepAliveCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionDisconnectCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(10, "ConnectionDisconnect"), "Connection id \"{ConnectionId}\" disconnecting.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" disconnecting.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionDisconnect(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionDisconnectCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotAllConnectionsClosedGracefullyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(16, "NotAllConnectionsClosedGracefully"), "Some connections failed to close gracefully during server shutdown.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Some connections failed to close gracefully during server shutdown.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NotAllConnectionsClosedGracefully(global::Microsoft.Extensions.Logging.ILogger logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NotAllConnectionsClosedGracefullyCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __NotAllConnectionsAbortedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(21, "NotAllConnectionsAborted"), "Some connections failed to abort during server shutdown.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Some connections failed to abort during server shutdown.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NotAllConnectionsAborted(global::Microsoft.Extensions.Logging.ILogger logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__NotAllConnectionsAbortedCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionRejectedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(24, "ConnectionRejected"), "Connection id \"{ConnectionId}\" rejected because the maximum number of concurrent connections has been reached.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" rejected because the maximum number of concurrent connections has been reached.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionRejected(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__ConnectionRejectedCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ApplicationAbortedConnectionCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(34, "ApplicationAbortedConnection"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the application aborted the connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": the application aborted the connection.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ApplicationAbortedConnection(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__ApplicationAbortedConnectionCallback(logger, connectionId, traceIdentifier, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ConnectionAcceptedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(39, "ConnectionAccepted"), "Connection id \"{ConnectionId}\" accepted.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" accepted.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionAccepted(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionAcceptedCallback(logger, connectionId, null);
}
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
partial class KestrelTrace
{
partial class GeneralLog
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __ApplicationErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(13, "ApplicationError"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": An unhandled exception was thrown by the application.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": An unhandled exception was thrown by the application.</para>
/// <para><b>Level:</b> Error</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ApplicationError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
{
__ApplicationErrorCallback(logger, connectionId, traceIdentifier, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __ConnectionHeadResponseBodyWriteCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(18, "ConnectionHeadResponseBodyWrite"), "Connection id \"{ConnectionId}\" write of \"{count}\" body bytes to non-body HEAD response.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" write of "{count}" body bytes to non-body HEAD response.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ConnectionHeadResponseBodyWrite(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__ConnectionHeadResponseBodyWriteCallback(logger, connectionId, count, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.DateTimeOffset, global::System.TimeSpan, global::System.TimeSpan, global::System.Exception?> __HeartbeatSlowCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.DateTimeOffset, global::System.TimeSpan, global::System.TimeSpan>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(22, "HeartbeatSlow"), "As of \"{now}\", the heartbeat has been running for \"{heartbeatDuration}\" which is longer than \"{interval}\". This could be caused by thread pool starvation.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> As of "{now}", the heartbeat has been running for "{heartbeatDuration}" which is longer than "{interval}". This could be caused by thread pool starvation.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void HeartbeatSlow(global::Microsoft.Extensions.Logging.ILogger logger, global::System.DateTimeOffset now, global::System.TimeSpan heartbeatDuration, global::System.TimeSpan interval)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__HeartbeatSlowCallback(logger, now, heartbeatDuration, interval, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __ApplicationNeverCompletedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(23, "ApplicationNeverCompleted"), "Connection id \"{ConnectionId}\" application never completed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" application never completed.</para>
/// <para><b>Level:</b> Critical</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void ApplicationNeverCompleted(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Critical))
{
__ApplicationNeverCompletedCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyStartCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(25, "RequestBodyStart"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": started reading request body.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": started reading request body.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyStart(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
__RequestBodyStartCallback(logger, connectionId, traceIdentifier, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDoneCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(26, "RequestBodyDone"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": done reading request body.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": done reading request body.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyDone(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
__RequestBodyDoneCallback(logger, connectionId, traceIdentifier, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyNotEntirelyReadCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(32, "RequestBodyNotEntirelyRead"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": the application completed without reading the entire request body.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": the application completed without reading the entire request body.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyNotEntirelyRead(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__RequestBodyNotEntirelyReadCallback(logger, connectionId, traceIdentifier, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDrainTimedOutCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(33, "RequestBodyDrainTimedOut"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": automatic draining of the request body timed out after taking over 5 seconds.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": automatic draining of the request body timed out after taking over 5 seconds.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyDrainTimedOut(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__RequestBodyDrainTimedOutCallback(logger, connectionId, traceIdentifier, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __InvalidResponseHeaderRemovedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(41, "InvalidResponseHeaderRemoved"), "One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> One or more of the following response headers have been removed because they are invalid for HTTP/2 and HTTP/3 responses: 'Connection', 'Transfer-Encoding', 'Keep-Alive', 'Upgrade' and 'Proxy-Connection'.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void InvalidResponseHeaderRemoved(global::Microsoft.Extensions.Logging.ILogger logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__InvalidResponseHeaderRemovedCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.EndPoint, global::System.Exception?> __Http2DisabledWithHttp1AndNoTlsCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.EndPoint>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(64, "Http2DisabledWithHttp1AndNoTls"), "HTTP/2 is not enabled for {Endpoint}. The endpoint is configured to use HTTP/1.1 and HTTP/2, but TLS is not enabled. HTTP/2 requires TLS application protocol negotiation. Connections to this endpoint will use HTTP/1.1.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> HTTP/2 is not enabled for {Endpoint}. The endpoint is configured to use HTTP/1.1 and HTTP/2, but TLS is not enabled. HTTP/2 requires TLS application protocol negotiation. Connections to this endpoint will use HTTP/1.1.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2DisabledWithHttp1AndNoTls(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.EndPoint endPoint)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__Http2DisabledWithHttp1AndNoTlsCallback(logger, endPoint, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Net.EndPoint, global::System.Exception?> __Http3DisabledWithHttp1AndNoTlsCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Net.EndPoint>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(65, "Http3DisabledWithHttp1AndNoTls"), "HTTP/3 is not enabled for {Endpoint}. HTTP/3 requires TLS. Connections to this endpoint will use HTTP/1.1.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> HTTP/3 is not enabled for {Endpoint}. HTTP/3 requires TLS. Connections to this endpoint will use HTTP/1.1.</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3DisabledWithHttp1AndNoTls(global::Microsoft.Extensions.Logging.ILogger logger, global::System.Net.EndPoint endPoint)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__Http3DisabledWithHttp1AndNoTlsCallback(logger, endPoint, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestAbortedExceptionCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(66, "RequestAborted"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": The request was aborted by the client.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": 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.26904")]
public static partial void RequestAbortedException(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__RequestAbortedExceptionCallback(logger, connectionId, traceIdentifier, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __RequestBodyDrainBodyReaderInvalidStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(67, "RequestBodyDrainBodyReaderInvalidState"), "Connection id \"{ConnectionId}\", Request id \"{TraceIdentifier}\": automatic draining of the request body failed because the body reader is in an invalid state.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}", Request id "{TraceIdentifier}": automatic draining of the request body failed because the body reader is in an invalid state.</para>
/// <para><b>Level:</b> Error</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void RequestBodyDrainBodyReaderInvalidState(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string traceIdentifier, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
{
__RequestBodyDrainBodyReaderInvalidStateCallback(logger, connectionId, traceIdentifier, ex);
}
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
partial class KestrelTrace
{
partial class Http2Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(29, "Http2ConnectionError"), "Connection id \"{ConnectionId}\": HTTP/2 connection error.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": HTTP/2 connection error.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2ConnectionError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ConnectionErrorException ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2ConnectionErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2StreamErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(30, "Http2StreamError"), "Connection id \"{ConnectionId}\": HTTP/2 stream error.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": HTTP/2 stream error.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2StreamError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2StreamErrorException ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2StreamErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __HPackDecodingErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(31, "HPackDecodingError"), "Connection id \"{ConnectionId}\": HPACK decoding error while decoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": HPACK decoding error while decoding headers for stream ID {StreamId}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void HPackDecodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int streamId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__HPackDecodingErrorCallback(logger, connectionId, streamId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ErrorCode, global::System.Exception?> __Http2StreamResetAbortCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ErrorCode>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(35, "Http2StreamResetAbort"), "Trace id \"{TraceIdentifier}\": HTTP/2 stream error \"{error}\". A Reset is being sent to the stream.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Trace id "{TraceIdentifier}": HTTP/2 stream error "{error}". A Reset is being sent to the stream.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2StreamResetAbort(global::Microsoft.Extensions.Logging.ILogger logger, string traceIdentifier, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ErrorCode error, global::Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2StreamResetAbortCallback(logger, traceIdentifier, error, abortReason);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionClosingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(36, "Http2ConnectionClosing"), "Connection id \"{ConnectionId}\" is closing.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" is closing.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2ConnectionClosing(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2ConnectionClosingCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameReceivedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(37, "Http2FrameReceived"), "Connection id \"{ConnectionId}\" received {type} frame for stream ID {id} with length {length} and flags {flags}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" received {type} frame for stream ID {id} with length {length} and flags {flags}.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2FrameReceived(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType type, int id, int length, object flags)
{
__Http2FrameReceivedCallback(logger, connectionId, type, id, length, flags, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __HPackEncodingErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(38, "HPackEncodingError"), "Connection id \"{ConnectionId}\": HPACK encoding error while encoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": HPACK encoding error while encoding headers for stream ID {StreamId}.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void HPackEncodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int streamId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__HPackEncodingErrorCallback(logger, connectionId, streamId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2MaxConcurrentStreamsReachedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(40, "Http2MaxConcurrentStreamsReached"), "Connection id \"{ConnectionId}\" reached the maximum number of concurrent HTTP/2 streams allowed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" reached the maximum number of concurrent HTTP/2 streams allowed.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2MaxConcurrentStreamsReached(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2MaxConcurrentStreamsReachedCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2ConnectionClosedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(48, "Http2ConnectionClosed"), "Connection id \"{ConnectionId}\" is closed. The last processed stream ID was {HighestOpenedStreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" is closed. The last processed stream ID was {HighestOpenedStreamId}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2ConnectionClosed(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int highestOpenedStreamId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2ConnectionClosedCallback(logger, connectionId, highestOpenedStreamId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object, global::System.Exception?> __Http2FrameSendingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType, int, int, object>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(49, "Http2FrameSending"), "Connection id \"{ConnectionId}\" sending {type} frame for stream ID {id} with length {length} and flags {flags}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" sending {type} frame for stream ID {id} with length {length} and flags {flags}.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2FrameSending(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2FrameType type, int id, int length, object flags)
{
__Http2FrameSendingCallback(logger, connectionId, type, id, length, flags, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2QueueOperationsExceededCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(60, "Http2QueueOperationsExceeded"), "Connection id \"{ConnectionId}\" exceeded the output operations maximum queue size.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" exceeded the output operations maximum queue size.</para>
/// <para><b>Level:</b> Critical</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2QueueOperationsExceeded(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Connections.ConnectionAbortedException ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Critical))
{
__Http2QueueOperationsExceededCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, string, global::System.Exception?> __Http2UnexpectedDataRemainingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int, string>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(61, "Http2UnexpectedDataRemaining"), "Stream {StreamId} on connection id \"{ConnectionId}\" observed an unexpected state where the streams output ended with data still remaining in the pipe.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Stream {StreamId} on connection id "{ConnectionId}" observed an unexpected state where the streams output ended with data still remaining in the pipe.</para>
/// <para><b>Level:</b> Critical</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2UnexpectedDataRemaining(global::Microsoft.Extensions.Logging.ILogger logger, int streamId, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Critical))
{
__Http2UnexpectedDataRemainingCallback(logger, streamId, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2ConnectionQueueProcessingCompletedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(62, "Http2ConnectionQueueProcessingCompleted"), "The connection queue processing loop for {ConnectionId} completed.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The connection queue processing loop for {ConnectionId} completed.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2ConnectionQueueProcessingCompleted(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2ConnectionQueueProcessingCompletedCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http2UnexpectedConnectionQueueErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Critical, new global::Microsoft.Extensions.Logging.EventId(63, "Http2UnexpectedConnectionQueueError"), "The event loop in connection {ConnectionId} failed unexpectedly.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The event loop in connection {ConnectionId} failed unexpectedly.</para>
/// <para><b>Level:</b> Critical</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2UnexpectedConnectionQueueError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Critical))
{
__Http2UnexpectedConnectionQueueErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2TooManyEnhanceYourCalmsCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(64, "Http2TooManyEnhanceYourCalms"), "Connection id \"{ConnectionId}\" aborted since at least {Count} ENHANCE_YOUR_CALM responses were recorded per second.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" aborted since at least {Count} ENHANCE_YOUR_CALM responses were recorded per second.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2TooManyEnhanceYourCalms(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2TooManyEnhanceYourCalmsCallback(logger, connectionId, count, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, int, global::System.Exception?> __Http2FlowControlQueueOperationsExceededCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(65, "Http2FlowControlQueueOperationsExceeded"), "Connection id \"{ConnectionId}\" exceeded the output flow control maximum queue size of {Count}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" exceeded the output flow control maximum queue size of {Count}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2FlowControlQueueOperationsExceeded(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int count)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http2FlowControlQueueOperationsExceededCallback(logger, connectionId, count, null);
}
}
/// <summary> This API supports the logging infrastructure and is not intended to be used directly from your code. It is subject to change in the future. </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private readonly struct __Http2FlowControlQueueMaximumTooLowStruct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>>
{
private readonly string _connectionId;
private readonly int _expected;
private readonly int _actual;
public __Http2FlowControlQueueMaximumTooLowStruct(string connectionId, int expected, int actual)
{
this._connectionId = connectionId;
this._expected = expected;
this._actual = actual;
}
public override string ToString()
{
var ConnectionId = this._connectionId;
var Actual = this._actual;
var Expected = this._expected;
return string.Create(global::System.Globalization.CultureInfo.InvariantCulture, $"Connection id \"{ConnectionId}\" configured maximum flow control queue size {Actual} is less than the maximum streams per connection {Expected}. Increasing configured value to {Expected}.");
}
public static readonly global::System.Func<__Http2FlowControlQueueMaximumTooLowStruct, global::System.Exception?, string> Format = (state, ex) => state.ToString();
public int Count => 4;
public global::System.Collections.Generic.KeyValuePair<string, object?> this[int index]
{
get => index switch
{
0 => new global::System.Collections.Generic.KeyValuePair<string, object?>("ConnectionId", this._connectionId),
1 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Expected", this._expected),
2 => new global::System.Collections.Generic.KeyValuePair<string, object?>("Actual", this._actual),
3 => new global::System.Collections.Generic.KeyValuePair<string, object?>("{OriginalFormat}", "Connection id \"{ConnectionId}\" configured maximum flow control queue size {Actual} is less than the maximum streams per connection {Expected}. Increasing configured value to {Expected}."),
_ => throw new global::System.IndexOutOfRangeException(), // return the same exception LoggerMessage.Define returns in this case
};
}
public global::System.Collections.Generic.IEnumerator<global::System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator()
{
for (int i = 0; i < 4; i++)
{
yield return this[i];
}
}
global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
}
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" configured maximum flow control queue size {Actual} is less than the maximum streams per connection {Expected}. Increasing configured value to {Expected}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2FlowControlQueueMaximumTooLow(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, int expected, int actual)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
logger.Log(
global::Microsoft.Extensions.Logging.LogLevel.Debug,
new global::Microsoft.Extensions.Logging.EventId(66, "Http2FlowControlQueueMaximumTooLow"),
new __Http2FlowControlQueueMaximumTooLowStruct(connectionId, expected, actual),
null,
__Http2FlowControlQueueMaximumTooLowStruct.Format);
}
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure
{
partial class KestrelTrace
{
partial class Http3Log
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3ConnectionErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(42, "Http3ConnectionError"), "Connection id \"{ConnectionId}\": HTTP/3 connection error.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": HTTP/3 connection error.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3ConnectionError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http3.Http3ConnectionErrorException ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http3ConnectionErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3ConnectionClosingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(43, "Http3ConnectionClosing"), "Connection id \"{ConnectionId}\" is closing.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" is closing.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3ConnectionClosing(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http3ConnectionClosingCallback(logger, connectionId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long?, global::System.Exception?> __Http3ConnectionClosedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(44, "Http3ConnectionClosed"), "Connection id \"{ConnectionId}\" is closed. The last processed stream ID was {HighestOpenedStreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" is closed. The last processed stream ID was {HighestOpenedStreamId}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3ConnectionClosed(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long? highestOpenedStreamId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http3ConnectionClosedCallback(logger, connectionId, highestOpenedStreamId, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __Http3StreamAbortCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(45, "Http3StreamAbort"), "Trace id \"{TraceIdentifier}\": HTTP/3 stream error \"{error}\". An abort is being sent to the stream.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Trace id "{TraceIdentifier}": HTTP/3 stream error "{error}". An abort is being sent to the stream.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3StreamAbort(global::Microsoft.Extensions.Logging.ILogger logger, string traceIdentifier, string error, global::Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason)
{
__Http3StreamAbortCallback(logger, traceIdentifier, error, abortReason);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, long, long, global::System.Exception?> __Http3FrameReceivedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, long, long>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(46, "Http3FrameReceived"), "Connection id \"{ConnectionId}\" received {type} frame for stream ID {id} with length {length}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" received {type} frame for stream ID {id} with length {length}.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3FrameReceived(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string type, long id, long length)
{
__Http3FrameReceivedCallback(logger, connectionId, type, id, length, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, long, long, global::System.Exception?> __Http3FrameSendingCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string, long, long>(global::Microsoft.Extensions.Logging.LogLevel.Trace, new global::Microsoft.Extensions.Logging.EventId(47, "Http3FrameSending"), "Connection id \"{ConnectionId}\" sending {type} frame for stream ID {id} with length {length}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}" sending {type} frame for stream ID {id} with length {length}.</para>
/// <para><b>Level:</b> Trace</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3FrameSending(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, string type, long id, long length)
{
__Http3FrameSendingCallback(logger, connectionId, type, id, length, null);
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __Http3OutboundControlStreamErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(50, "Http3OutboundControlStreamError"), "Connection id \"{ConnectionId}\": Unexpected error when initializing outbound control stream.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": Unexpected error when initializing outbound control stream.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3OutboundControlStreamError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http3OutboundControlStreamErrorCallback(logger, connectionId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __QPackDecodingErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(51, "QPackDecodingError"), "Connection id \"{ConnectionId}\": QPACK decoding error while decoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": QPACK decoding error while decoding headers for stream ID {StreamId}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void QPackDecodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long streamId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__QPackDecodingErrorCallback(logger, connectionId, streamId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __QPackEncodingErrorCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(52, "QPackEncodingError"), "Connection id \"{ConnectionId}\": QPACK encoding error while encoding headers for stream ID {StreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": QPACK encoding error while encoding headers for stream ID {StreamId}.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void QPackEncodingError(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long streamId, global::System.Exception ex)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__QPackEncodingErrorCallback(logger, connectionId, streamId, ex);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, long, global::System.Exception?> __Http3GoAwayStreamIdCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, long>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(53, "Http3GoAwayHighestOpenedStreamId"), "Connection id \"{ConnectionId}\": GOAWAY stream ID {GoAwayStreamId}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection id "{ConnectionId}": GOAWAY stream ID {GoAwayStreamId}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http3GoAwayStreamId(global::Microsoft.Extensions.Logging.ILogger logger, string connectionId, long goAwayStreamId)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__Http3GoAwayStreamIdCallback(logger, connectionId, goAwayStreamId, null);
}
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal
{
partial class LoggerExtensions
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string, global::System.Exception?> __LocatedDevelopmentCertificateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, "LocatedDevelopmentCertificate"), "Using development certificate: {certificateSubjectName} (Thumbprint: {certificateThumbprint})", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Using development certificate: {certificateSubjectName} (Thumbprint: {certificateThumbprint})</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void LocatedDevelopmentCertificate(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string certificateSubjectName, string certificateThumbprint)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__LocatedDevelopmentCertificateCallback(logger, certificateSubjectName, certificateThumbprint, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __UnableToLocateDevelopmentCertificateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "UnableToLocateDevelopmentCertificate"), "Unable to locate an appropriate development https certificate.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Unable to locate an appropriate development https certificate.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void UnableToLocateDevelopmentCertificate(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__UnableToLocateDevelopmentCertificateCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLocateDevelopmentCertificateFileCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "FailedToLocateDevelopmentCertificateFile"), "Failed to locate the development https certificate at '{certificatePath}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to locate the development https certificate at '{certificatePath}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToLocateDevelopmentCertificateFile(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string certificatePath)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FailedToLocateDevelopmentCertificateFileCallback(logger, certificatePath, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadDevelopmentCertificateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "FailedToLoadDevelopmentCertificate"), "Failed to load the development https certificate at '{certificatePath}'.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to load the development https certificate at '{certificatePath}'.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToLoadDevelopmentCertificate(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string certificatePath)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FailedToLoadDevelopmentCertificateCallback(logger, certificatePath, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __BadDeveloperCertificateStateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(4, "BadDeveloperCertificateState"), "The ASP.NET Core developer certificate is in an invalid state. To fix this issue, run the following commands 'dotnet dev-certs https --clean' and 'dotnet dev-certs https' to remove all existing ASP.NET Core development certificates and create a new untrusted developer certificate. On macOS or Windows, use 'dotnet dev-certs https --trust' to trust the new certificate.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The ASP.NET Core developer certificate is in an invalid state. To fix this issue, run the following commands 'dotnet dev-certs https --clean' and 'dotnet dev-certs https' to remove all existing ASP.NET Core development certificates and create a new untrusted developer certificate. On macOS or Windows, use 'dotnet dev-certs https --trust' to trust the new certificate.</para>
/// <para><b>Level:</b> Error</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void BadDeveloperCertificateState(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
{
__BadDeveloperCertificateStateCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __DeveloperCertificateFirstRunCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(5, "DeveloperCertificateFirstRun"), "{Message}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> {Message}</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void DeveloperCertificateFirstRun(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string message)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__DeveloperCertificateFirstRunCallback(logger, message, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadCertificateCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(6, "MissingOrInvalidCertificateFile"), "The certificate file at '{CertificateFilePath}' can not be found, contains malformed data or does not contain a certificate.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The certificate file at '{CertificateFilePath}' can not be found, contains malformed data or does not contain a certificate.</para>
/// <para><b>Level:</b> Error</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToLoadCertificate(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string certificateFilePath)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
{
__FailedToLoadCertificateCallback(logger, certificateFilePath, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __FailedToLoadCertificateKeyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Error, new global::Microsoft.Extensions.Logging.EventId(7, "MissingOrInvalidCertificateKeyFile"), "The certificate key file at '{CertificateKeyFilePath}' can not be found, contains malformed data or does not contain a PEM encoded key in PKCS8 format.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The certificate key file at '{CertificateKeyFilePath}' can not be found, contains malformed data or does not contain a PEM encoded key in PKCS8 format.</para>
/// <para><b>Level:</b> Error</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToLoadCertificateKey(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger, string certificateKeyFilePath)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Error))
{
__FailedToLoadCertificateKeyCallback(logger, certificateKeyFilePath, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DeveloperCertificateNotTrustedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(8, "DeveloperCertificateNotTrusted"), "The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void DeveloperCertificateNotTrusted(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__DeveloperCertificateNotTrustedCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __DeveloperCertificatePartiallyTrustedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Warning, new global::Microsoft.Extensions.Logging.EventId(9, "DeveloperCertificatePartiallyTrusted"), "The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> The ASP.NET Core developer certificate is only trusted by some clients. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert</para>
/// <para><b>Level:</b> Warning</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void DeveloperCertificatePartiallyTrusted(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Warning))
{
__DeveloperCertificatePartiallyTrustedCallback(logger, null);
}
}
}
}
namespace Microsoft.AspNetCore.Server.Kestrel.Https.Internal
{
partial class HttpsConnectionMiddlewareLoggerExtensions
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AuthenticationFailedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(1, "AuthenticationFailed"), "Failed to authenticate HTTPS connection.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to authenticate HTTPS connection.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void AuthenticationFailed(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__AuthenticationFailedCallback(logger, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __AuthenticationTimedOutCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(2, "AuthenticationTimedOut"), "Authentication of the HTTPS connection timed out.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Authentication of the HTTPS connection timed out.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void AuthenticationTimedOut(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__AuthenticationTimedOutCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Security.Authentication.SslProtocols, global::System.Exception?> __HttpsConnectionEstablishedCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, global::System.Security.Authentication.SslProtocols>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(3, "HttpsConnectionEstablished"), "Connection {ConnectionId} established using the following protocol: {Protocol}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Connection {ConnectionId} established using the following protocol: {Protocol}</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void HttpsConnectionEstablished(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string connectionId, global::System.Security.Authentication.SslProtocols protocol)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__HttpsConnectionEstablishedCallback(logger, connectionId, protocol, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __Http2DefaultCiphersInsufficientCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(4, "Http2DefaultCiphersInsufficient"), "HTTP/2 over TLS is not supported on Windows versions older than Windows 10 and Windows Server 2016 due to incompatible ciphers or missing ALPN support. Falling back to HTTP/1.1 instead.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> HTTP/2 over TLS is not supported on Windows versions older than Windows 10 and Windows Server 2016 due to incompatible ciphers or missing ALPN support. Falling back to HTTP/1.1 instead.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void Http2DefaultCiphersInsufficient(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__Http2DefaultCiphersInsufficientCallback(logger, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __LocatingCertWithPrivateKeyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(5, "LocateCertWithPrivateKey"), "Searching for certificate with private key and thumbprint {Thumbprint} in the certificate store.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Searching for certificate with private key and thumbprint {Thumbprint} in the certificate store.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static partial void LocatingCertWithPrivateKey(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string thumbPrint)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__LocatingCertWithPrivateKeyCallback(logger, thumbPrint, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, string?, global::System.Exception?> __FoundCertWithPrivateKeyCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string, string?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(6, "FoundCertWithPrivateKey"), "Found certificate with private key and thumbprint {Thumbprint} in certificate store {StoreName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Found certificate with private key and thumbprint {Thumbprint} in certificate store {StoreName}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FoundCertWithPrivateKey(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string thumbprint, string? storeName)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FoundCertWithPrivateKeyCallback(logger, thumbprint, storeName, null);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Exception?> __FailedToFindCertificateInStoreCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(7, "FailToLocateCertificate"), "Failure to locate certificate from store.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failure to locate certificate from store.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToFindCertificateInStore(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FailedToFindCertificateInStoreCallback(logger, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string?, global::System.Exception?> __FailedToOpenStoreCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string?>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(8, "FailToOpenStore"), "Failed to open certificate store {StoreName}.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Failed to open certificate store {StoreName}.</para>
/// <para><b>Level:</b> Debug</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void FailedToOpenStore(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string? storeName, global::System.Exception exception)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
{
__FailedToOpenStoreCallback(logger, storeName, exception);
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, string, global::System.Exception?> __NoSubjectAlternativeNameCallback =
global::Microsoft.Extensions.Logging.LoggerMessage.Define<string>(global::Microsoft.Extensions.Logging.LogLevel.Information, new global::Microsoft.Extensions.Logging.EventId(9, "NoSubjectAlternativeName"), "Certificate with thumbprint {Thumbprint} lacks the subjectAlternativeName (SAN) extension and may not be accepted by browsers.", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
/// <summary>
/// <para><b>Message:</b> Certificate with thumbprint {Thumbprint} lacks the subjectAlternativeName (SAN) extension and may not be accepted by browsers.</para>
/// <para><b>Level:</b> Information</para>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "11.0.14.26904")]
public static partial void NoSubjectAlternativeName(this global::Microsoft.Extensions.Logging.ILogger<global::Microsoft.AspNetCore.Server.Kestrel.Https.Internal.HttpsConnectionMiddleware> logger, string thumbprint)
{
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Information))
{
__NoSubjectAlternativeNameCallback(logger, thumbprint, null);
}
}
}
} |