ListenOptionsConnectionLoggingExtensions.UseConnectionLogging Método
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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. |
Emite registros detallados para bytes leídos y escritos en la conexión.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionLogging (listenOptions As ListenOptions) As ListenOptions
Parámetros
- listenOptions
- ListenOptions
Devoluciones
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 |
Emite registros detallados para bytes leídos y escritos en la conexión.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^ listenOptions, System::String ^ loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions listenOptions, string? loggerName);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions * string -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions
<Extension()>
Public Function UseConnectionLogging (listenOptions As ListenOptions, loggerName As String) As ListenOptions
Parámetros
- listenOptions
- ListenOptions
- loggerName
- String
Devoluciones
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 |