Compartir a través de


KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging Método

Definición

Sobrecargas

UseConnectionLogging(KestrelServerOptions)

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

UseConnectionLogging(KestrelServerOptions, String)

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

UseConnectionLogging(KestrelServerOptions)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ options);
public static Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions options);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions -> Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions
<Extension()>
Public Function UseConnectionLogging (options As KestrelServerOptions) As KestrelServerOptions

Parámetros

Devoluciones

The Microsoft.AspNetCore.Server.KestrelServerOptions.

Se aplica a

UseConnectionLogging(KestrelServerOptions, String)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ UseConnectionLogging(Microsoft::AspNetCore::Server::Kestrel::KestrelServerOptions ^ options, System::String ^ loggerName);
public static Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions UseConnectionLogging (this Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions options, string loggerName);
static member UseConnectionLogging : Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions * string -> Microsoft.AspNetCore.Server.Kestrel.KestrelServerOptions
<Extension()>
Public Function UseConnectionLogging (options As KestrelServerOptions, loggerName As String) As KestrelServerOptions

Parámetros

loggerName
String

Devoluciones

The Microsoft.AspNetCore.Server.KestrelServerOptions.

Se aplica a