File: RequestProcessing\RequestStream.Log.cs
Web Access
Project: src\src\Servers\HttpSys\src\Microsoft.AspNetCore.Server.HttpSys.csproj (Microsoft.AspNetCore.Server.HttpSys)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.Logging;
 
namespace Microsoft.AspNetCore.Server.HttpSys;
 
internal partial class RequestStream
{
    private static partial class Log
    {
        [LoggerMessage(LoggerEventIds.ErrorWhenReadAsync, LogLevel.Debug, "ReadAsync", EventName = "ErrorWhenReadAsync")]
        public static partial void ErrorWhenReadAsync(ILogger logger, Exception exception);
 
        [LoggerMessage(LoggerEventIds.ErrorWhenReadBegun, LogLevel.Debug, "BeginRead", EventName = "ErrorWhenReadBegun")]
        public static partial void ErrorWhenReadBegun(ILogger logger, Exception exception);
 
        [LoggerMessage(LoggerEventIds.ErrorWhileRead, LogLevel.Debug, "Read", EventName = "ErrorWhileRead")]
        public static partial void ErrorWhileRead(ILogger logger, Exception exception);
    }
}