ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Método

Definición

Sobrecargas

UseConnectionLogging(ListenOptions)

Emite registros detallados para bytes leídos y escritos en la conexión.

UseConnectionLogging(ListenOptions, String)

Emite registros detallados para bytes leídos y escritos en la conexión.

UseConnectionLogging(ListenOptions)

Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs

Emite registros detallados para bytes leídos y escritos en la conexión.

C#
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);

Parámetros

listenOptions
ListenOptions

Devoluciones

ListenOptions.

Se aplica a

ASP.NET Core 9.0 y otras versiones
Producto Versiones
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

UseConnectionLogging(ListenOptions, String)

Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs
Source:
ListenOptionsConnectionLoggingExtensions.cs

Emite registros detallados para bytes leídos y escritos en la conexión.

C#
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string loggerName);
C#
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string? loggerName);

Parámetros

listenOptions
ListenOptions
loggerName
String

Devoluciones

ListenOptions.

Se aplica a

ASP.NET Core 9.0 y otras versiones
Producto Versiones
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0