Condividi tramite


KestrelServerOptionsConnectionLoggingExtensions.UseConnectionLogging Metodo

Definizione

Overload

UseConnectionLogging(KestrelServerOptions)

Genera log dettagliati per i byte letti e scritti nella connessione.

UseConnectionLogging(KestrelServerOptions, String)

Genera log dettagliati per i byte letti e scritti nella connessione.

UseConnectionLogging(KestrelServerOptions)

Genera log dettagliati per i byte letti e scritti nella connessione.

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

Parametri

Restituisce

The Microsoft.AspNetCore.Server.KestrelServerOptions.

Si applica a

UseConnectionLogging(KestrelServerOptions, String)

Genera log dettagliati per i byte letti e scritti nella connessione.

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

Parametri

loggerName
String

Restituisce

The Microsoft.AspNetCore.Server.KestrelServerOptions.

Si applica a